Ragkag Posted May 23, 2023 Share Posted May 23, 2023 I have created a batch file that executes ccleaner64.exe /Auto I want to run other programs after cCleaner finishes but it appears that once cCleaner is started, it exits before it is done working. In other words, it doesn't wait until it finishes to return to the command line. Based on the command line help, /Auto tells cCleaner to exit when it is done. Link to comment Share on other sites More sharing options...
APMichael Posted May 23, 2023 Share Posted May 23, 2023 You must use the START command for this, for example: START "CCleaner64" /WAIT "%ProgramFiles%\CCleaner\CCleaner64.exe" /AUTO Help: https://ss64.com/nt/start.html Link to comment Share on other sites More sharing options...
Ragkag Posted May 23, 2023 Author Share Posted May 23, 2023 Thanks APMichael. I will give this a try. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now