Jump to content

Batch File failing


Recommended Posts

I have Windows 10 1803 17134.137 and CCleaner 5.44.6575

I have set up a batch file that looks like

C:\"Program Files"\CCleaner\CCleaner64.exe /AUTO

I placed in the CCleaner folder.

Whenever I run this bat file I get a dump.

Not sure what it means.

This just started to occur - until now I have not had an issue.  Not sure what changed.

Also...I run Malwarebytes and MS antivirus. 

8c2bbbca-04f3-4050-8767-647c0709d0ae.dmp

Edited by joseph66
Need to add other info
Link to comment
Share on other sites

  • Moderators

Are the quotes like this "Program Files" exactly placed as you have them in your post? If so they're in the wrong place (although it doesn't explain the crash dump that's happening).

Try this instead:
"C:\Program Files\CCleaner\CCleaner64.exe" /AUTO

or, without having to use any quotes:
%ProgramFiles%\CCleaner\CCleaner64.exe /AUTO

If the issue is with using CCleaner64.exe you can also try with CCleaner.exe and see if that works.

Link to comment
Share on other sites

Yes - I have tried three different command lines

"C:\Program Files\CCleaner\CCleaner64.exe" /AUTO

%ProgramFiles%\CCleaner\CCleaner64.exe /AUTO

C:\"Program Files"\CCleaner\CCleaner64.exe /AUTO

The one I submitted I found on the forum - I didn't think it would work but I gave it a try and forgot to change it back.

Oddly enough, this command line is the only one that generates a *.dmp file.

"C:\Program Files\CCleaner\CCleaner64.exe" /AUTO

The program works just fine when I run it normally - just can't invoke it with a batch file. 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.