Override of DIR command? and more...

M

Mike Welch

There are 3 questions in this post:

1. DIR command
Both the DIR and ATTRIB commands have been greatly limited in terms of
what they will return these days. I am trying to find my patches (the
EXEs I download from Microsoft) so I can back them up in case of a
system crash...last check there were about 50MB worth of them and I
don't want to have to install all of them all over again.

I went to my last backup and found one of the files I know is
somewhere on my system, but typing the following does not turn the
file up, for example:

c:\>dir Q810565_XP_SP2\Q810565_WXP_SP2_x86_ENU.exe /s/b

I tried adding /ah, but that isn't doing it either. I know the files
aren't deleted because I've backed them up before. I seem to remember
they're in the documents and settings directory...

The funny thing is, I found the files before. I'm wondering if, with
all the patches I've installed, DIR functionalty has been further
limited with patches?

Q: is there a way to force DIR to show me all files? I know XP has
additional attributes now, and I know they're not even documented
under the /A parameters.

2. Location of setup files
Where are the setup files, such as
Q810565_XP_SP2\Q810565_WXP_SP2_x86_ENU.exe, located?

3. Attrib is also now limited and does not display all files like it
used to. Is there a way to make it show everything when I just type
Attrib *.* like it used to?

I use a command prompt a lot and I find these limitations a great
frustration.

Thanks for your help!

Regards,

Mike
Dallas
 
G

Guest

DIR /a /s

The "/a" will show all files regardless of the attribute. The "/s" will show all files including those in sub-directories.

To see more command-line options, use "/?" at the end such as:

DIR /?

Best Regards,
Lon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top