Search This Blog

2017/03/21

Useful command line in window

Open cmd window by keyboard: Win+R, then input cmd and enter

System set: msconfig
Open Control Panel: Control Panel

Go to folder: CD pathToFolder
List all folders and files: DIR
List environment variables: SET [name=[value]]

New create a folder: mkdir folderName
Remove empty folder: rmdir folderName
Remove not empty folder: rmdir /s folderName

Open an application: start [appName]
For example: start firefox

Reboot: shutdown -r [seconds]
Shut down: shutdown -s [seconds]
Log off: shutdown -l [seconds]
Shutdown menu: shutdown -i
Abort shutdown command: shutdown -a
Hibernate(sleep): shutdown -h

IP: ipconfig /?

break: Ctrl+C

No comments :

Post a Comment