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

What is the purpsoe of a /S (switch) in DOS. Thanks

2007-04-06 12:07:49 · 5 answers · asked by Anonymous in Computers & Internet Programming & Design

Heres the exact question. What is the purpose of a switch added to a DOS command? Thanks again

2007-04-06 12:14:19 · update #1

5 answers

Command Line Switches allow the user to selctively modify a programs (i.e. command) operation.

The /? switch is used to print a help section on the valid switches avaiable.

so for example

dir prints a directory

dir /? Prints a list of switches which can be used

dir /p prints the directory a page(screen) at a time

the same program (dir) is operated several different ways based on the switches added to the command line instruction

2007-04-06 14:53:34 · answer #1 · answered by MarkG 7 · 0 0

I just love how these neophite unix wannabees can't give you a straight answer.

Here is a link that describes the switches command and sub commands.

http://www.computerhope.com/switches.htm

SYNTAX

SWITCHES= /F /K /N /E[:n]

/F Skips the two-second delay after displaying the "Starting MS-DOS" message during startup.
/K Forces an enhanced keyboard to behave like a conventional keyboard.
/N Prevents you from using the F5 or F8 key to bypass startup commands. (SWITCHES /N does not prevent you from pressing CTRL+F5 or CTRL+F8 to bypass Drvspace.bin or Dblspace.bin; to prevent this, use the D**SPACE
/SWITCHES Command to add the SWITCHES /N setting to your D**space.ini file.)
/E[:N] Used without the :n parameter, indicates that Io.sys should suppress the automatic relocation of EBIOS. (Automatic relocation of EBIOS increases the conventional memory available to MS-DOS-based programs.) Suppressing automatic relocation results in less conventional memory available to MS-DOS-based programs. Use the /E switch with the n parameter to relocate N bytes of EBIOS to low memory, where n is the number of bytes to be relocated. The minimum value for n is 48 and the maximum value is 1024. The number specified is always rounded up to the next multiple of 16.

2007-04-06 19:20:41 · answer #2 · answered by THE ONE 6 · 0 1

Yeah, just type /? to get a list of switches. For example when you type dir/p it gives you a directory listing of the drive you're currently on (C:dir/p) with a pause between pages so you can see each line.

2007-04-06 19:18:00 · answer #3 · answered by Sheryl R 4 · 0 0

Which command? Try using the /? switch to view the command's switches.

2007-04-06 19:09:53 · answer #4 · answered by Linux OS 7 · 1 0

Include sub directories

2007-04-06 19:12:20 · answer #5 · answered by david786 4 · 0 0

fedest.com, questions and answers