mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-01 16:56:38 +02:00
- Added support for user profiles with spaces under Windows 10. Closes #266
This commit is contained in:
@@ -2,6 +2,6 @@ Set oShell = CreateObject("Shell.Application")
|
||||
Set wShell = WScript.CreateObject("WScript.Shell")
|
||||
Set fso = CreateObject("Scripting.FileSystemObject")
|
||||
|
||||
path = wShell.ExpandEnvironmentStrings("%userprofile%")
|
||||
strFolder = fso.BuildPath(path, "\.kinto\kinto.ahk")
|
||||
path = wShell.ExpandEnvironmentStrings("""%userprofile%")
|
||||
strFolder = fso.BuildPath( path, "\.kinto\kinto.ahk""")
|
||||
oShell.ShellExecute "C:\Program Files\AutoHotkey\AutoHotkey.exe", strFolder, , "runas", 0
|
Reference in New Issue
Block a user