I ever wrote about MSDOS commands in my previous articles and dir command is included. And this time, I want write the detail about dir command. If you a MSDOS user, I am ensuring you know about this command hehehehe. Yup you're right dir command is to browse your files in computer storage including harddisk, floppy disk, cdrom, dvdrom and else. And I want write about parameters of dir command.
Don't forget to press ENTER key every you has type commands that I write below.
1. Type dir to browse all you files and folders in current disk/folder, hidden files and hidden folders are not shown in the result.
2. Type dir/ah to display hidden files and folders only in current disk/folder.
3. Type dir/as to display system files and folders only in current disk/folder.
4. Type dir/ar to display read only files and folders only in current disk/folder.
5. Type dir/b to display file name only without its details in current disk/folder.
6. Type dir/d to display file name in column format and sorted (the result like dir/w result).
7. Type dir/x to display like normal and its sort file name if it's available.
8. Type dir/og to display folders first then continued by files.
9. Type dir/os to display files and folder in sorted format by file size.
10. Type dir/ad to display just folder in current disk/folder.
11. Type dir/w to display files and folders in current disk/folder in wide format and without its detail.
12. Type dir/p to display the result page by page, press ENTER key to continue display next page.
13. Type dir | more to display its result in line by line format, press ENTER to display next line and press SPACE key to complete it.
You can save the result of command into preformat text file with add parameter > namafile, for example dir > hdd_content.txt, then you can open that file with text editor (such as notepad).
Hopefully, this article may help you.
Subscribe to:
Post Comments (Atom)
0 comments
Post a Comment