1.

Solve : another question involving the Windows XP command line class?

Answer»

I have another quesiton on my lab assignment that I can't figure out what the command is.

Here's the question:

Issue the command the will display the directory with the attributes of Archived and Hidden in reverse order by name.

I believe that I know what part of this command is going to look LIKE:

C:\>DIR /A:H

I believe that the [H] stands for Hidden files, because the text book has some of this listed. It says the following command:

DIR [drive:][path][filename] [/A[[:]attributes]] [/B] [/C] [/D] [/L] [/N]. The entire line is in BRACKET, [], meaning that all of the parameters or switches are optional.

When it shows all of the lisings for [/A] command, it has the following LIST of attributes that follows the [/A] command.

attributes:
D Directories
H Hidden files
S System files
R Read-only files
A Files ready for archiving
- Prefix meaning not

No where on that list does it have the letter to display the Archive files.

Any help on this will be helpful.

Do you think that /A:A may work for what you are meant to be doing?

And as for the reverse alphabetical... /O:-N


Just as long as you understand what's happening here, it should be OK to use...
~~Dark Blade
From your own post...

Quote from: mnascarland on September 09, 2007, 11:09:09 PM

A Files ready for archiving

No where on that list does it have the letter to display the Archive files.

Maybe you need eyeglasses?



Discussion

No Comment Found