Posted On March 31, 2019

Windows-clean-up.cmd

kimconnect 0 comments
blog.KimConnect.com >> Windows >> Windows-clean-up.cmd

——————————
Clear out TEMP files on a regular basis – this is best done at startup when no applications are running. To delete all files in all subfolders of C:\temp\ but leave the folder structure intact:
DEL /F /S /Q %TEMP%
——————-

shutdown.cmd
—————————————————
net stop “Microsoft Exchange Internet Mail Service”
net stop “Microsoft FTP Service”
net stop “Some other Service”
SHUTDOWN /t:25 /r
—————————————————-

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

Windows: How to Map Network Drive for All Users of a Local Machine

# Mapping file share using legacy commands (more effective than newer PowerShell equivalents in certain…

Resolving LDAPS Connection Errors

Errors: Can not connect to remote server: 5059 ERROR_CERTIFICATE_ERROR (unable to read server certificates from…

How to Cramp For a Test

From my experience, the trick to memorizing 10,000+ questions and answers at the 90% accuracy…