VBS - Relativní cesta...
Napsal: 21 zář 2017 16:32
Ahoj potřeboval bych:
místo start.bat
dát cestu k tomuto souboru
např. %systemdrive%/users/%username%/AppData/start.bat
(většina možností co jsem zkoušel nefunguje...) Děkuji :)
Set oShell = CreateObject ("Wscript.Shell")
Dim strArgs
strArgs = "cmd /c start.bat"
oShell.Run strArgs, 0, false
místo start.bat
dát cestu k tomuto souboru
např. %systemdrive%/users/%username%/AppData/start.bat
(většina možností co jsem zkoušel nefunguje...) Děkuji :)
Set oShell = CreateObject ("Wscript.Shell")
Dim strArgs
strArgs = "cmd /c start.bat"
oShell.Run strArgs, 0, false