Solved

Navigate to .NET directory using DOD prompt

Posted on 2008-10-17
6
974 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
[X]
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
  • 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
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 

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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

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…
Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

635 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