Jump to content

auto to sleep rather than shut down


Recommended Posts

  • Moderators

I don't think there's a way to do that currently.  But it's a good suggestion.

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

You could create a batch file like the following and name it "ccsleep.bat" for example:

@ECHO OFF
START "CCleaner" /WAIT "%ProgramFiles%\CCleaner\CCleaner64.exe" /AUTO
"<path_to_psshutdown>\PSSHUTDOWN.EXE" -d -t 0

 

PsShutdown can be downloaded here: https://docs.microsoft.com/en-gb/sysinternals/downloads/psshutdown

Link to comment
Share on other sites

  • Moderators
1 hour ago, APMichael said:

You could create a batch file like the following and name it "ccsleep.bat" for example:


@ECHO OFF
START "CCleaner" /WAIT "%ProgramFiles%\CCleaner\CCleaner64.exe" /AUTO
"<path_to_psshutdown>\PSSHUTDOWN.EXE" -d -t 0

 

PsShutdown can be downloaded here: https://docs.microsoft.com/en-gb/sysinternals/downloads/psshutdown

Does that wait for ccleaner to finish before psshutdown?

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

16 hours ago, Nergal said:

Does that wait for ccleaner to finish before psshutdown?

 

Yes, "/WAIT" instructs "START" to do this.

Syntax:
START "title" [/D path] [options] "command" [parameters]

Options:
/W or /WAIT - Start application and wait for it to terminate.

 

Link to comment
Share on other sites

On 16/05/2020 at 16:12, APMichael said:

You could create a batch file like the following and name it "ccsleep.bat" for example:


@ECHO OFF
START "CCleaner" /WAIT "%ProgramFiles%\CCleaner\CCleaner64.exe" /AUTO
"<path_to_psshutdown>\PSSHUTDOWN.EXE" -d -t 0

 

PsShutdown can be downloaded here: https://docs.microsoft.com/en-gb/sysinternals/downloads/psshutdown

 

Excellent! Thanks for the help

 

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.