1.

Solve : basic display question?

Answer»

I'm new to DOS, can someone give me the command that will display a directory listing that shows the files one page at a time and ordered by the smallest file up to the largest file, please. Ta.Welcome to CH.

for your question, try this

dir C:\ /os /p

this will display it one page at a time
/p

and this sorts the files smallest to largest in file size
/osHi,

The command your after "dir"

If you open a command prompt (I'm guessing your using XP) and type "dir /?" it will display the help page. This will give you a list about all the switch's available and their descriptions.

From memory I think it's "dir /OS /P"


Hope it helps.


EDIT: Grrrrr, you got there before me......just....Hi and THANKS guys, works beautifully. You don't really "help" people if you tell them how to do their homework.It's not homework, I'm studying for a test tomorrow and reviewing past questions and as it is late where I am I thought I would try a forum and see if anyone was willing to help, thankfully there was. I'm very new to DOS and to forums but I thought that was the purpose...to find help from those in the know, generous ENOUGH to pass it on. Like I said, homework.
Lol.

Come on Dias, we can point them in the RIGHT direction.

*I think we went beyond that here*I am just amazed that anybody can be facing a test involving command line stuff and they don't know to type

dir /?

at the prompt.

QUOTE from: Dias de verano on June 26, 2008, 10:03:42 AM

I am just amazed that anybody can be facing a test involving command line stuff and they don't know to type

dir /?

at the prompt.

yeah, that is a little sad well some people dont want to do it themselves they want to slack off and let other people do it for them. I partly meant that the teacher must be rubbish if they didn't mention that most commands have a /? switch.
or even tell them that the help was in the Windows Help Program
yet what i dont get is if there are studying DOS then why dont the have a referance GUIDE in book form. i still find the old dos guide that i have for MS-DOS 4 very helpful.Christi-j is gone... Quote from: macdad- on June 27, 2008, 06:31:09 AM
*sigh* its another one of those hit n run. they ask you the question, you give them an answer, then they leave not giving you a simple Thank you.

nice.


Discussion

No Comment Found