English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
0

can anyone give me some basic DOS commands like how to get back to my C:\ drive, because right now when i open command prompt, it takes me to my docs, or where ever i was when i opened it. if you wonder why, im attempting to learn java and the book needs us to use commands

2007-02-01 09:15:30 · 4 answers · asked by Bill s 2 in Computers & Internet Programming & Design

4 answers

From "help cd" at a command prompt.

Displays the name of or changes the current directory.

CHDIR [/D] [drive:][path]
CHDIR [..]
CD [/D] [drive:][path]
CD [..]

.. Specifies that you want to change to the parent directory.

Type CD drive: to display the current directory in the specified drive.
Type CD without parameters to display the current drive and directory.

Use the /D switch to change current drive in addition to changing current
directory for a drive.

If Command Extensions are enabled CHDIR changes as follows:

The current directory string is converted to use the same case as
the on disk names. So CD C:\TEMP would actually set the current
directory to C:\Temp if that is the case on disk.

CHDIR command does not treat spaces as delimiters, so it is possible to
CD into a subdirectory name that contains a space without surrounding
the name with quotes. For example:

cd \winnt\profiles\username\programs\start menu

is the same as:

cd "\winnt\profiles\username\programs\start menu"

which is what you would have to type if extensions were disabled.

---

The command you really want to use is

CD\

which will take you back to the root directory. You can also create a Command Prompt shortcut and set the starting directory under the Shortcuts tab in the "Start In" text box.

2007-02-01 11:34:18 · answer #1 · answered by Kookiemon 6 · 0 0

Use the 'cd' command to change directories. If you type 'cd ..' that will take you up a folder. Here's a tip: make sure you run 'cmd' instead of 'command' in the command prompt, because the cmd shell is better, and more Unix-like. The cmd shell can let you use the tab key to complete folder names, which is very helpful.

2007-02-01 09:19:27 · answer #2 · answered by Pfo 7 · 0 0

To see a list of DOS commands, type:
help
at the DOS prompt (if you've opened the DOS box in a Window instead of full screen, you can scroll up to see the whole list; if you've opened the DOS box full screen, you can type "help | more" and it will stop after a screen's worth of information has gone by).

For more help on a specific DOS command, you type:
commandname /?

2007-02-01 09:33:51 · answer #3 · answered by rongee_59 6 · 0 0

MS-DOS (for Microsoft Disk operating gadget) is an operating gadget commercialized via Microsoft. It grow to be the most extensively used member of the DOS relatives of operating structures and grow to be the dominant operating gadget for the workstation properly proper platform in the course of the Eighties. some people will inform you that it's not yet in all reality that is. properly there you flow.

2016-12-03 08:11:53 · answer #4 · answered by Anonymous · 0 0

fedest.com, questions and answers