Tech Talk A software developer on all things tech, and then some

13Aug/132

Command Prompt (CMD) Doesn’t Change Directories

When working with command prompt, to change directories you usually do something like the following :

cd [FilePath]

I was using the above method to try and change directories to a different drive (ie c:\ to f:\), and it wasn't working. After googling and reading Microsoft's documentation about CD, I realized I needed to just include the drive. When using CD, you are just changing the directories within the drive which CMD is currently looking in. So, to change the drive, just write the following :

[drive letter]:

Update : 10/14/2013
Chris in the comments below included a good point I forgot to mention, if you want to change the directory all in one line, you can do so with the following command

cd /d o:\test\test

For example :

To change from c:\ to o:\   (Without the quotes... Syntax highlighter hides the drive path if I don't include them)

"o:"

That's all you need!

15Oct/120

Watch Star Wars Episode IV From The Command Prompt

Who needs a bluray version of Star Wars when you can watch it in ASCII form! Thanks to the huge effort to Simon Jansen, you can watch most of the movie in ASCII right from your desktop (command prompt). A lot of you might have already seen this since it has been around for awhile (circa. 2000), but just stumbled across it myself (Can't believe I didn't hear about this before). To watch, follow the following steps :

  1. Go to Start -> type CMD and hit enter
  2. Enter the following into the black window that appears without the double quotes, "telnet towel.blinkenlights.nl"
  3. Sit back and enjoy

-- Update (10/22/2012) --
I had a few people mention an error message regarding an error with Telnet. If you receive an error message, make sure it is installed and enabled first. Install Telnet on Windows 7

   
%d bloggers like this: