Daily Archives: 2013-04-19

A while back, I posted a command that allowed you to get a directory listing in a command window started from the Windows Explorer address bar. You may have realized that this is actually redundant and useless in its current form because listing the directory contents is what Windows Explorer does, but if taken a little further, it can become more useful. No, I won’t be going through that in this post.

The command:
cmd /k dir

Calls the command line interpreter cmd.exe
Opens the command window, executes the specified command, and keeps the window open after executing.
The command to run. DIR lists the contents of the current directory.