Results 1 to 9 of 9

Thread: MS-DOS Question

  1. #1
    Senior Member Falcon21's Avatar
    Join Date
    Dec 2002
    Location
    Singapore
    Posts
    252

    Post MS-DOS Question

    This is my question:
    Whenever I type something like 'dir', the DOS screen will display a lot of texts which moves upward rapidly, there is no scroll bar for me to scroll up to see the rest of the texts.
    Can any one tell me how to solve this problem or is there any program that similar to MS-DOS that allow me to scroll the texts?

    [gloworange]Thanks![/gloworange]


  2. #2
    Junior Member
    Join Date
    Aug 2003
    Posts
    14
    dir /p

    [shadow]Welcome to the Real World...[/shadow]

  3. #3
    Senior Member Falcon21's Avatar
    Join Date
    Dec 2002
    Location
    Singapore
    Posts
    252
    It is that any command also can use '/p' behind it?

  4. #4
    Senior Member
    Join Date
    Jun 2003
    Posts
    772
    You can also when you have another command that gives lots of output use this:
    command | more
    dir /p and dir | more give basicly the same result.
    The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me

    www.elhalf.com

  5. #5
    Senior Member
    Join Date
    Jan 2003
    Posts
    1,499
    dir /w is also handy

  6. #6

  7. #7
    Senior Member
    Join Date
    Jul 2003
    Posts
    634
    another nice way to do it is:-

    dir >>dir.txt

    dir.txt can be what ever type of text file you like,

    its nice because you can do it with any command that has a textual output, eg: -

    ping xxx.xxx.xxx.xx >> pingtarget.txt

    or

    nbtstat -a xxx.xxx.xxx.xxx >>nbtstatresults.txt

    this files that are created are created in your c:\ directory

    hope that helps a bit

    i2c

  8. #8
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,785
    more is nice but i preferr less. there are dos ports available. it allows you to page up as well as down.

    you can combine flags in dir. like dir /w/p

    or you could be specific with your requests. if you want to see just exes do dir *.exe or dir /p/w *.exe if its a long list you can alpabetize and browse threw it: dir /on |less

    /on = order by name
    /od = order by date

    dir /? = show me all the options i can use
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

  9. #9
    Junior Member
    Join Date
    Aug 2003
    Posts
    8

    dir

    dir scrolls it all...and u cant see the first things.
    dir/w scrolls it long ways , but sometimes you cant see it all either, if theres alot of it
    dir/p..... I forgot what that does..haha
    and i believe dir/s will scroll it and stop when the page is full....then you hit enter and it will scroll more...then more till its done.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •