cmd open current folder code example
Example 1: open current folder in explorer from cmd
The period is used in the Command Prompt as a shorthand for the current folder.
Enter start .
or
Enter Explorer .
Example 2: open current dir cmd
start . or explorer .
("." is a shortcut for current director)
Example 3: open cmd in current directory
cd /d %~dp0
cmd.exe