Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Dumb Question ...

OK, I'm new to this program and I'm working my way through the manual. But in trying something out I seem to have hit a silly. Let's say I'm in C:\Users\John\, and I give a 'Dir' command. A list is generated, but it's clear lots of files/folders/junctions are not being displayed. I want to effectively issue a Dir <everything>, but can't find an easy syntax. Dir /a: works, presumably because no item can have all the attributes set (if the attribute set is to be valid).

But is there a better way to issue a dir <everything> command?

Thanks,

JB
 
You've got it. If you're not listing any attributes, you can omit the colon.

If you do this a lot, you can create an alias:

Code:
alias d=dir /a

Or even:
Code:
alias @@F5=dir /a
 
But is there a better way to issue a dir <everything> command?

This has been my dir alias since the days of 4DOS (20+ years ago):

alias @@f5=@dir /J/H/Ou/A

(although I added the /T switch a couple months ago)

You may want to define these aliases in your alias file:

@@f5=@dir /J/H/Ou/T/A
@@f6=@dir /J/H/Od/T/A
@@f7=@dir /J/H/Oe/T/A
@@ctrl-f5=@dir /J/H/P/Ou/T/A
@@ctrl-f6=@dir /J/H/P/Od/T/A
@@ctrl-f7=@dir /J/H/P/Oe/T/A
@shift-f5=dir /J/H/Ou/T/A
@shift-f6=dir /J/H/Od/T/A
@shift-f7=dir /J/H/Oe/T/A


F5: unsorted dir; F6: sorted by date; F7: sorted by extension.
Ctrl "adds" the pause switch; Shift allows entering extra parameters.
 
This has been my dir alias since the days of 4DOS (20+ years ago):

alias @@f5=@dir /J/H/Ou/A

(although I added the /T switch a couple months ago)

You may want to define these aliases in your alias file:

@@f5=@dir /J/H/Ou/T/A
@@f6=@dir /J/H/Od/T/A
@@f7=@dir /J/H/Oe/T/A
@@ctrl-f5=@dir /J/H/P/Ou/T/A
@@ctrl-f6=@dir /J/H/P/Od/T/A
@@ctrl-f7=@dir /J/H/P/Oe/T/A
@shift-f5=dir /J/H/Ou/T/A
@shift-f6=dir /J/H/Od/T/A
@shift-f7=dir /J/H/Oe/T/A


F5: unsorted dir; F6: sorted by date; F7: sorted by extension.
Ctrl "adds" the pause switch; Shift allows entering extra parameters.
Thanks - I'll definitely have a play!
 

Similar threads

Back
Top