Shell Path Problems
Posted: Fri May 22, 2009 3:39 am
Hi.
Trying to launch a bat file with a shell command from an exe in a folder in windows.
The exe is located C:\Program Files\mp3tool
The bat file is located C:\Program Files\mp3tool\Library
get shell("C:\merge.bat") used to work when the exe and bat file were located in the C:\ directory but now I cannot get the bat file to lauch a all.
I've tried a number of combinations,backslashes but none I tried will execute the bat file.
set the hideConsoleWindows to true
get shell ("C:/Program Files/mp3tool/Library/merge.bat")
Any help would be greatly appreciated.
EDIT: I just tried to put the exe and .bat file together in a new directory, C:/Test, and it ran fine.....but the path C:/Program Files will not work? I don't know what's happening???
Thanks
Bidge
Trying to launch a bat file with a shell command from an exe in a folder in windows.
The exe is located C:\Program Files\mp3tool
The bat file is located C:\Program Files\mp3tool\Library
get shell("C:\merge.bat") used to work when the exe and bat file were located in the C:\ directory but now I cannot get the bat file to lauch a all.
I've tried a number of combinations,backslashes but none I tried will execute the bat file.
set the hideConsoleWindows to true
get shell ("C:/Program Files/mp3tool/Library/merge.bat")
Any help would be greatly appreciated.
EDIT: I just tried to put the exe and .bat file together in a new directory, C:/Test, and it ran fine.....but the path C:/Program Files will not work? I don't know what's happening???
Thanks
Bidge