Discussion, questions and support.
-
Archivist
- Posts: 36
- Joined: Sep 21st, ’17, 18:06
Post
by Archivist » Oct 5th, ’17, 17:32
An OPEN version of the command %USERPROFILE% doesn't do anything.
I have a cludgy version w/ a run command
Code: Select all
cmd.exe /k explorer C:\Users\%USERNAME% & exit
Is there a correct way to do it.
-
Marko
- Posts: 1719
- Joined: Mar 2nd, ’13, 21:02
Post
by Marko » Oct 5th, ’17, 21:43
This should work:
Code: Select all
cmd.exe /k explorer C:\Users\%A_UserName% & exit
-
Archivist
- Posts: 36
- Joined: Sep 21st, ’17, 18:06
Post
by Archivist » Oct 5th, ’17, 22:12
Perfect.
This also works
explorer.exe "C:\Users\%A_UserName%\Google Drive"