Last active
July 29, 2022 18:30
-
-
Save SARDONYX-sard/85df7db16cf9f0603ecdf211a8f2ad24 to your computer and use it in GitHub Desktop.
Useful shortcut command on Windows10, 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Start-Process C:\Windows\system32\rundll32.exe sysdm.cpl, EditEnvironmentVariables -Verb runas |
- Clear trash
- ja: ゴミ箱空
C:\Windows\System32\cmd.exe /c "echo Y| powershell.exe -NoProfile -Command Clear-RecycleBin"
Sleep
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -Command "Add-Type -Assembly System.Windows.Forms;[System.Windows.Forms.Application]::SetSuspendState('Suspend', $false, $false);"
- Shutdown after 1 hour
C:\Windows\System32\shutdown.exe -s -f -t 3600
Cancel shutdown
C:\Windows\System32\shutdown.exe -a
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
C:\Windows\System32\OptionalFeatures.exe