Old Skool Computing


If you are a windows user you are probably familiar with the DOS prompt (start >> run >> cmd). Or you probably remember the post I wrote some time ago about the batch script.

Every now and then it comes in handy to know a few DOS commands, to automise a task or to recover some data from a crashed windows installation.

Below you can find a few very commonly used DOS commands with some information. I won’t sum up all the options that are available for the commands. Since the article would become way to long and too complex.
If you need more info about a command you can leave a comment and I’ll get back to you with more info.

  • cd: change disk. Use this to change the directory in DOS. This is used for navigation in other words
  • dir: this command allows you to see files and folders within a directory
  • copy: do I really need to explain this? One note, you can only copy file(s) with this command
  • xcopy: variant of the copy command.  You can also move folders with this command
  • move: this allows you to move files and folders from one location to another (something like cut/paste in other words)
  • del: this allows you to delete files from you computer
  • deltree: allows you to remove a directory with all off the files and subfolders (use with care!!)
  • ren: allows you to rename files and folders
  • cls: clear screen. this will remove all the completed commands from the command prompt
  • format: can be used to format drives (HDD, USB, etc..)
  • chkdsk: verifies a storage volume
  • echo: prints something to screen
  • exit: go figure
  • help: gives.. help… about DOS…
  • mkdir: create a directory
  • pause: this is used mostly in a script. This prompts a user to “press the any key” to continue
  • color: allows you to change the color of the dos prompt
  • find: search for text within a file
  • ftp: allows you to connect to a ftp server
  • ipconfig: shows the ip configuration of the network adaptors
  • netstat: displays the TCP/IP network protocol statistics and information
  • ping: test the connectivity to another netwerk device or server
  • shutdown: shutdown or reboot the computer
  • tracert: view the route across the network

These are just a set of commonly used DOS commands. I’m fully aware that there are a lot more commands. But let us start with these ones  ;-).

Most commands cannot be executed without giving extra options.

Good luck!

Advertisements

One thought on “Old Skool Computing

  1. Pingback: Advanced Computing « Tech-o-rama

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: