Sunday, August 31, 2008

Windows Command Prompt (part 4)

Meet again huh? but i don't mind... you may think why i didn't write these windows command prompt post to become one post only?!, but for real, my mood which driving me to write, so thats why i didn't write it in one post.hehe...

lets started with next command.

  • CLS. This one is used to Clear your screen, not your windows screen, but your cmd’s console screen. Just type cls, and see the result. This command comes with no option.
    When you had type a lot of command, cmd become so crowded and its make you a little headache, I think it is the time to use this command than take a deep breath to disappear your confuses. If this is doesn’t seems to work, maybe it’s time to press your windows key, the press “u”, and press “u” again. In other word, turn off your computer, and go to sleep for a while until you can handle your problem again


  • CMD. This command is used to starts a new instance of the windows command interpreter in its own window. Because this command comes with so many option that I don’t understand most off them, one option that I understand is /T option, but this is not different at all with COLOR command, so lets moving on next command

  • COLOR. Used to sets the default console foreground and background color. This command comes also with no option at all, but comes with color attributes. As you can see in its help, there are 15 color attributes which you can use to re-color your console.
For example, if you got bored with black background and gray font you can make it like Linux terminal which had white background and black font. Just type:
Color 70
First color “7” is for background and second “0” is for text. Just be creative for your mood. But, how to make it back to the default? Easy.. just close your cmd console then start – run – and type cmd there.
  • COMP. Use to compare two files due to their both size, I think this command just created for this. Although I tried all of COMP option when I compare two files, didn’t seem different result on it.

  • COMPACT. Used to displays or alters the compressions of files on NTFS partitions. I guess it is almost same with zip or rar program, but when I tried to compact small files, it make no changes. This command just effect big files only, not in “size” but in how did computer save files in harddisk. Do you understand? No? so am i.. hehe

  • CONVERT. Used to converts your FAT volumes to NTFS. As you know, in windows, there are three type of how windows arrange files to save in harddisk (http://support.microsoft.com/kb/100108), FAT and NTFS are two of them. There are advantage and disadvantage to using FAT or NTFS, like compability to other OS and security issue (see CACLS - http://computermate.blogspot.com/2008/08/windows-command-promt-part-3.html)
    you can use some option like /FS /V /CvtArea, etc. But I really don’t suggest to use this command to convert from FAT to NTFS, its better to re-format your disk then choose FAT or NTFS.

Related Posts by Categories



0 comments:

Template by - Abdul Munir - 2008