batch script to delete a file after the above process completed
Posted: 01 Feb 2017 20:44
Hi
I have a batch script run.bat running with the following command
start /wait c:\*\*\*\doscan.exe c:\scanfolder
how do i delete the item in scanfolder after this command end?
delete c:\scanfolder doesn't seems to work and i want to ensure the process completed then run the delete.
Please advise.
I have a batch script run.bat running with the following command
start /wait c:\*\*\*\doscan.exe c:\scanfolder
how do i delete the item in scanfolder after this command end?
delete c:\scanfolder doesn't seems to work and i want to ensure the process completed then run the delete.
Please advise.