I remember when I learn computer for first time. Operating system that I used was Windows 3.11, yup that's an 'ancient' operating system for a lot of us but from it I learn so much about computer. From MS DOS, WordStar for DOS, Lotus 123 and the others. And one of them that still I like and remember is MSDOS commands. I still use DOS commands until today on Windows XP and Vista. Because I feel I still get the speed and customizing ability with its parameter from the commands.
And I want share my favourite MSDOS commands that had been helping me for almost 14 years !
I type it in unsorted because I type it when I remember it but hopefully, you get benefit from my this article.
- dir, I am ensuring that you will type this command at your prompt :) for 50% ratio from all your typed commands. This command is very easy; type dir /ah to browse the hidden files; dir /ad to browse folder only; dir *.exe to browse all executable files; dir *how*.exe to browse all files that having part name "how" like howdy, howto, etc; dir *.xl? to browse all files that have extension xl something, like xls, xlk, ....
- copy, this command to copy file from one folder to another folder. For examples, if you want copy test1.doc file to c:\test folder type : copy test1.doc c:\test; your can also rename/change file name to do that type : copy test1.doc test2.doc, so you have the same files but have different file name. For additional only you can also make a file with this command, type copy con (filename) and then press Enter key and then begin to type your test and if you has finished press Ctrl-Z key and your files will created, for example type copy con autoexec.bat.
- cd, this command to change your current directory (we call it folder now) to use it : just type cd , for example if you want change your directory to c:\test just type cd c:\test and if you has in test directory and want to enter the sub directory just type cd like cd test_1.
- ren, if you want to rename a file, use this command. Type ren test1.doc test2.doc to rename test1.doc to test2.doc.
- del, yup this command to delete a file or collection file, if you want delete test1.doc file type del test1.doc and if you want delete entire file in your current folder just type del *.*; if you want delete certain extension file type del *.exe.
- attrib, this command to change current attribut file to another attribute and display file attributes, as you know that there are several attributes available like hidden, system, archive, read-only, so if you want to know the attribute from test1.doc attributes just type attrib test1.doc so you can see its attributes from the result, and if you want change hidden attribute from file test1.doc, type attrib -h test1.doc and if you want change all files attributes in your current directory just type attrib -h *.* so all your files that in your current directory will changed.
- mkdir, this command to make a folder/directory, to use it type mkdir test_1 if you want to make test_1 folder.
- deltree, this command to delete/remove a folder/directory, if you type deltree test so your test folder will deleted.
- cls, if your screeen has crowd and confused just type cls to clear your screen.
- type, to view a file content, for example if you want to know the content of test1.doc file, type type test1.doc and the test1.doc content will displayed.
- label, this command has function to changel you harddrive label, to use it just type label and then press Enter and then type new label for your harddrive when your asked or your can also type like this label c: new_label (change new_label with your own label).
- date, this command to change your current computer date, to use it just type date then press Enter key and then type new date when you asked.
- time, this command to change your current computer time, to use it just type time then press Enter key and then type new time when you asked.
- chkdsk, this command to repair your harddrive, to use it type chkdsk c: to repair c: drive and if your want to fix it add f parameter so you type chkdsk /f c:.
To open your command prompt/shell environment, click Start - Run menu and type cmd in texbox then press Enter key. OK I am very sleepy now and I will continue to write the part 2. I hope my article give some benefit for you......
0 comments
Post a Comment