Solved

Navigate to .NET directory using DOD prompt

Posted on 2008-10-17
6
950 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
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Selective Copy and overwrite 7 58
find replace in windows 10 9 88
listing file names and path into notepad 3 61
netsh interface ip show interface in Windows XP 4 124
The following is a collection of cases for strange behaviour when using advanced techniques in DOS batch files. You should have some basic experience in batch "programming", as I'm assuming some knowledge and not further explain the basics. For some…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

776 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