Re: Bat file to create another bat file.
Posted: 27 Dec 2019 12:10
It would be nice if the CMD window on the remote PC would run minimized.
This runs with the CMD window open:
I tried adding cmd to it so it would minimize:
It doesn't like how I added it.
Does anyone have any suggestions?
Thanks,
Docfxit
This runs with the CMD window open:
Code: Select all
c:\batch\psexec.exe @"C:\Batch\PushFileAndRunItComputerList.txt" -u MyUser -p MyPassword -i -c -v "C:\Dnload\9xAddons\Macrium\UpdateMacriumRun.bat"
Code: Select all
c:\batch\psexec.exe @"C:\Batch\PushFileAndRunItComputerList.txt" -u MyUser -p MyPassword -i -c -v cmd.exe /c start /min "C:\Dnload\9xAddons\Macrium\UpdateMacriumRun.bat"
Does anyone have any suggestions?
Thanks,
Docfxit