Link to home
Start Free TrialLog in
Avatar of mfair
mfair

asked on

Changing Directory in Command Prompt

I am trying to change to a directory called "This Directory" in a command prompt by typing 'cd thisdi~1' it says path not found.  However when I type 'thisdi~2' it works.  There is only one 'This Directory' or anything similar.  Where can I go to tell Windows that 'thisdi~1' does not exist?
ASKER CERTIFIED SOLUTION
Avatar of theruck
theruck
Flag of Slovakia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Why are you shortenning it?
With the CD command, you can specify the full length name, like so:

CD This Directory

Or, when using other commands, you simply have to place quotes round it:

Command "directory"

>> IM
Avatar of mfair
mfair

ASKER

I knew it was an easy fix but I was determined to make it harder that it should have been.  I should have tried to rename the directory!

I had to shorten the names becasue there was an application on the server that needed to have it shortened because of the way it was configured.

Thanks for the input.