ASKER
Program/script: "C:\Full\Path\To\Batch File.bat".
Add arguments (optional): "C:\Full\Path\To\Another File.txt"
echo %1>"%temp%\debugbat.txt"
I decided to use wscript.exe:Not sure how this worked for you, WSCRIPT normally can't process a BAT extension file, and it certainly can't execute BAT commands if that's indeed what the BAT file holds.
wscript.exe "C:\Full\Path\To\Batch File.bat" "C:Full\Path\To\Another File.txt"
ASKER
This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.
TRUSTED BY
What is the problem?
You may try to put it into double quotes "" ... "" or "'...'"