aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-30 23:43:40 +0100
committerJohn Ankarström <john@ankarstrom.se>2021-01-30 23:43:40 +0100
commita3e064c2a8e98ed5b58bba5cb425e0e8c3095e11 (patch)
tree3d20f16780e9ec3718d0c41b53e2095b298d52fe
parenteb1e2ee89889bb1962b93af0e29d0495d7a618de (diff)
downloadahk-a3e064c2a8e98ed5b58bba5cb425e0e8c3095e11.tar.gz
explorer: Fix command prompt bug
-rw-r--r--tt.programs.explorer.ahk2
1 files changed, 1 insertions, 1 deletions
diff --git a/tt.programs.explorer.ahk b/tt.programs.explorer.ahk
index 16053da..4da1dc3 100644
--- a/tt.programs.explorer.ahk
+++ b/tt.programs.explorer.ahk
@@ -57,7 +57,7 @@ RunAsUser(cmd*)
path := ExplorerPath()
Run, % "C:\Documents and Settings\All Users\Start Menu\Programs\Microsoft Visual Studio 2010 Express\Visual Studio Command Prompt (2010).lnk"
WinWait, ahk_class ConsoleWindowClass
-SendInput, % "cd " path "{Return}"
+SendInput, % "cd /d " path "{Return}"
return
; Create new file