Solved

Navigate to .NET directory using DOD prompt

Posted on 2008-10-17
6
928 Views
Last Modified: 2012-05-05
I am trying to compile a web project and the directions tell me to Run the DOS command line and to go to the .NET Framework directory
cd C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
This command results in an "Invalid directory" message.
The desired directory does exist  - I can find it using Windows Explorer.

How do I get the DOS prompt to accept that command.  I think the dots are upsetting DOS.
0
Comment
Question by:dhapp
  • 3
  • 3
6 Comments
 
LVL 5

Expert Comment

by:PaulKeating
ID: 22746147
The dots are absolutely not upsetting DOS.

If you can find the folder using Explorer then the folder path will appear in the Address line. If you don't have an Address line you need to check View | Toolbars | Address Bar.

Copy the path that appears in the Address bar to a DOS prompt and tell me what happens.

To do that,
(1) highlight the folder path in the address bar and select Edit | Copy
(2) open a DOS box, type CD followed by space
(3) click on the C: icon in the top left-hand corner and select Edit | Paste
(4) hit Enter.

By "tell me what happens" I mean, if it doesn't work, I need to see a screenshot of the DOS box with the error message and a screenshot of the folder you can see in Explorer.
0
 

Author Comment

by:dhapp
ID: 22746523
I used your suggestion prior to turning to EE for a solution.
The DOS command window does not support the Paste function.  There is no edit menu to pick from and control V produces ^V in the DOS environment.
DOS-Box.GIF
Explorer.JPG
0
 
LVL 5

Expert Comment

by:PaulKeating
ID: 22749908
The DOS command window does indeed support the Paste function.

You typed control-V to mean paste. That doesn't work.

Click on the C:\ icon in the top left corner, then select Edit | Paste.


0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 

Author Comment

by:dhapp
ID: 22750510
Paul,

You are correct.  The small C:\ icons does provide a Paste Option.  I didn't know that.  Thanks.
I copied the full path from Windows Explorer.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
And pasted it into the DOS box.
Alas, another "Invalid Directory" error
DOS-Box.JPG
0
 
LVL 5

Accepted Solution

by:
PaulKeating earned 250 total points
ID: 22751362
Oh, now I see the problem.

You are running genuine old 16-bit DOS, not Windows. When I open what I call a "DOS box" it's actually a Windows command line. That directory is indeed invalid in 16-bit DOS, not because of the dots but because they are not 8.3 names.

You are getting a DOS box by running command.com. The instructions you are trying to follow don't mean that. Even if you switch to using the equivalent 8.3 folder names, it is unlikely that the compiler you are trying to run will work in a 16-bit virtual machine.

Instead: Start  | Run and open cmd.exe. That should give you a "DOS" box that looks like this (note the version at the top). On that command line, long filenames are ok.








dosbox.bmp
0
 

Author Closing Comment

by:dhapp
ID: 31507313
Nice job.
Thanks very much.
I never knew that there were two different DOS boxes.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

VALIDATING DATES One method of validating dates is to jam the date into the DATE command and see if it accepts it by examining the system's errorlevel value. A non-zero result indicates failure. A typical example might look something like the fol…
YESTERDAY YESTERDAY.BAT is inspired by a previous article I wrote entitled: TOMORROW.BAT (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/MS_DOS/A_4196-Advanced-Batch-File-Programming-TOMORROW-BAT.html). The crux of this batch f…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now