Command Explained: “View the contents of a folder from Windows Explorer”

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.

`$name' says...

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: