Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Navigate to .NET directory using DOD prompt

Posted on 2008-10-17
6
Medium Priority
?
983 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
NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

 

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 1000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

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…
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…
Integration Management Part 2
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

963 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