Quote:
Originally Posted by DNSB
Since you mentioned that the batch file and the executable file are in the same directory, could you try modifying the batch file to:
%~dp0MyProgram.exe -u %1
The %~dp0 variable points to the drive and path of the batch file which is the same location you have the .exe file located. Otherwise, you'll need to either have the path to the executable in one of Window's path variable or specify the full path to the the executable.
|
Many thanks but also it failed