Changing Directory in Command Prompt

Posted on 2005-03-28
Medium Priority
Last Modified: 2010-04-18
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?
Question by:mfair
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 14

Accepted Solution

theruck earned 1000 total points
ID: 13645162
frist you can use
cd "This Directory" to enter your directory
second probably there was a dir simillar
i would try to delete or rename the dir and then rename back what happens
LVL 25

Expert Comment

ID: 13645180
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

Author Comment

ID: 13645649
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.

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question