Home windows cmd
Post
Cancel

windows cmd

shortcuts

  • clear the input line
1
ESC
  • open file explorer from cmd

    1
    2
    
    # open current directory in file explorer
    start .
    

references

Q&A

How can I create an empty file at the command line in Windows?

1
2
3
type nul > file.txt
echo nul > file.txt
notepad file.txt

Create a new cmd.exe window from within another cmd.exe prompt

1
2
start cmd.exe @cmd /k "Command"
start cmd.exe

How can I display the contents of an environment variable from the command prompt in Windows 7?

1
echo %PATH%
This post is licensed under CC BY 4.0 by the author.