Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set how DIR works in Command Prompt
Message
General information
Forum:
Windows
Category:
Other
Environment versions
OS:
Windows 7
Miscellaneous
Thread ID:
01528447
Message ID:
01528452
Views:
37
>>On my Win XP the DIR command always works as if it were called with parameters /o-d (to order on date in chronologically descending order). I know I set it up somehow in my XP computer (because I am pretty sure that this is not how it works out of the box). But, of course, I don't remember how.
>>
>>How do you pre-set the DIR command in Windows 7 Command prompt to work the same way?
>>
>>TIA.
>
>You need to set the DIRCMD environment variable to the parameters you want, in this case
>
>SET DIRCMD=/o-d
>
>Hugo

Thank you very much.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform