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:
- Win + Print opens System Properties dialog
- Klick on the Advanced tab
- Environment variables
- 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.
Advertisement