Set DIR command default parameters

Since I don’t like the the default parameters of the DIR command in the command line mode, I wandered if there is a way to set it permanently, to avoid typing each time “DIR /O:G/P” for example. And of course there is a way, following step-by-step for XP, but should be kind of similar for other windows versions too:

  1. Win + Print opens System Properties dialog
  2. Klick on the Advanced tab
  3. Environment variables
  4. Add a new variable with the name DIRCMD and the value(s) you want to be displayed in System variables field.
That’s it. Enjoy.

 

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s