Batch File failing

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

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.

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.

I wonder if you'll have to run the batch file as an admin. Also you can create a shortcut (desktop or elsewhere) to run CCleaner with the /AUTO command.