Windows Productivity Tips
Small Windows command-line and File Explorer shortcuts that reduce repetitive typing.
Write a concise opening that tells the reader what they will learn.
CLI Tips
Shortcut for explorer
Often enough it’s valuable to open the File Explorer in the current folder and do further navigation there. Usually explorer . is the command to run. But instead of typing everytime explorer this can be shorted to e with a link.
A soft link (symbolic link) can be created that way:
New-Item -Path C:\Windows\e.exe -ItemType SymbolicLink -Value C:\Windows\explorer.exe
Then typing e . is enough to open File Explorer with the current folder selected.
see also Google: creating hard and soft links in windows
Shortcut for notepad
Similar to above it’s handy to shortcut also Notepad.
New-Item -Path c:\Windows\System32\n.exe -ItemType SymbolicLink -Value c:\Windows\System32\notepad.exe
📝 NOTE: Usually I use Visual Studio Code to do this, but that’s sometimes to heavyweight and notepad starts much faster.
File Explorer Tips
To open a command prompt in the current folder, type into the address line cmd ..
If you want to open another application where the current folder in the File Explorer should be the current folder in the other application, type into the address line cmd /k <app> .,
e.g., for Visual Studio Code cmd /k code .