Monday, November 22, 2010

How do I change to the Unit01 directory using a DOS prompt?

on a Lab exercise, this is the first instruction:

1. Open a DOS prompt and change to the Unit01 directory

How do I do this?How do I change to the Unit01 directory using a DOS prompt?
click on ';start'; then Run

type in CMD (if on win2000, XP else type COMMAND)

click okay

in the dos prompt... (assuming your directory is in the root of the c: drive)

type in

c: %26lt;enter%26gt;

cd unit01%26lt;enter%26gt;

dirHow do I change to the Unit01 directory using a DOS prompt?
cd unit01



sirry should have given you full instructions. Start --%26gt; run--%26gt; type cmd. Hte you are in a DSO prompt. They type cd unit01 and you should be in that directory
if you have not been able to change directory yet:

you have to know where the Unit01 directory is. It may or may not be at the root. The directory structure in DOS is a hierarchical tree sturcture. If unit01 is at the root level then ';cd \unit01'; would work. The ';\'; signifies the root. But if the directory is a sub-directory. e.g. it could be under the lessons directory and you would need to say ';cd \lessons\unit01'; to get there.
Well, as it has been said above, you need to know where it is. If you don't, and assuming you are working in a real DOS prompt environment, then you can use ';dir C:\*.* /s/b/p'; to find every file and directory on C: drive. They will scroll to fill the screen, then pause automatically until you hit a key. Once you've found it's location, use ';cd ..'; to move up one directory level at a time until you're at the root level and the prompt shows ';C:\%26gt;'; or something close to that. Then simply type in ';cd C:\[pathtodir]\[diryouneed]'; and it should take you there. I hope this helps you out.

No comments:

Post a Comment