-
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]
::hide-beh
-
-
It is that any command also can use '/p' behind it?
-
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.
-
-
-
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
-
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
-
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.