Customizing CMD

Customizing CMD

       Customizing cmd helps you to change the default behavior of cmd. For customizing the cmd you need to open Run and type the below commands to change your default settings of cmd.

Note:

       Changing the default behavior of cmd might affect some applications and other commands you run inside the cmd. 

Syntax:

Cmd [{/A | /U}] [/Q] [/D] [/E: {ON | OFF}] [[/S] [{/C | /K}] string] [/V:{ON |/OFF}][/T:FG]

CMD Customizing Table:

Prameter
Description
/C
Executes the command specified in the string and then exits the
command shell.

/K
Executes the command specified in the string and does not exit
the command shell.

/S
Modifies the commands used as strings with the /C and /K
parameters. Usually, you place quotes around command strings.
The /S parameter removes the opening and closing quotes before
processing the command.

/A
Causes the output of internal commands to be sent to a file (this
process is also called piping) in ANSI character format.

/U
Causes the output of internal commands to be sent to a file (this
process is also called piping) in Unicode character format.

/Q
Turns off echo, which is on by default. Echo off mode is also
known as quiet mode. When echo is on, each command is displayed
as it is processed.

/D
Disables the AutoRun command from the Registry.

/E:ON
Enables command extensions if they were disabled. Command
extensions are enabled by default.

/E:OFF
Disables command extensions.

/F:ON
Enables the completion of characters for files and directories,
which help improve typing speed at the command prompt.

/V:ON
Enables delayed environment variable expansion by using the
exclamation point character (!) as the delimiter. This means that
using !ThisVar! will expand the variable ThisVar at the time of
execution.

/V:OFF
Disables delayed environment variable expansion.

/T:FG
Sets the foreground and background colors. The F and G represent
color values. They must be used without spaces.


        

Comments

Popular posts from this blog

How to use DIR Command

How to Write Your First Batch Script Progarm

How to Set Date Using CMD