August 31st, 2018, 04:23 PM
myfile.bat is the path/name of the bat file.
cmd.exe /c start /min "C:\blahblahblah\copy.bat" ^& exit
August 20th, 2018, 07:04 PM
Ah, good catch jdc2000. He had mentioned wscript in the original post, so I thought it was required. I hope it works now.
August 20th, 2018, 05:19 PM
It's hard to remember when you don't post back for 3 months. :p
I found this error about cscript, but I'm assuming it's similar for wscript:...
April 27th, 2018, 02:59 PM
It's better to NOT use spaces in folder names. I'd at least use underscores. xcopy_backups vs. xcopy backups.
Try adding double quotes around all paths.
Arguments: "C:\xcopy backups\Batch...