Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

The user specific setting run CMD


  • Please log in to reply
1 reply to this topic

#1 Bozzine

Bozzine

  • Members
  • 1 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Heerlen
  • Local time:06:32 PM

Posted 30 October 2009 - 10:21 AM

The user specific setting takes precedence over the setting of the computer.
The command line switches take precedence over the registry settings.

In a batch file, the argument of setlocale ENABLE EXTENSIONS
DISABLEEXTENSIONS a higher priority than the / E: ON or / E: OFF.
See setlocale /? for more information.

The command extensions involve changes and / or additions to the
following commands:

DEL or ERASE
COLOR
CD or CHDIR
MD or MKDIR
PROMPT
PUSHD
Popd
SET
Setlocale
Endlocal
IF
FOR
CALL
SHIFT
GOTO
START (including changes to external command invocation)
ASSOC
FTYPE

Type command name /? specific details of a contract to display.

Delayed environment variable is NOT standard
enabled. You can enable or disable a
particular invocation of CMD.EXE with the / V: ON or / V: OFF.
You can extend any delayed calling CMD.EXE or
off on one computer and / or user logon session by
Set one or both of the following REG_DWORD values in the
Register on 0x1 or 0x0 using REGEDT.EXE:

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Command Processor \ DelayedExpansion

and / or

HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor \ DelayedExpansion

The user specific setting takes precedence over the setting of the computer.
The command line switches take precedence over the registry settings.

In a batch file to the argument of setlocale ENABLE EXTENSIONS
DISABLEEXTENSIONS a higher priority than the / E: ON or / E: OFF.
See setlocale /? for more information.

If delayed environment variable expansion is enabled, the
exclamation used to value the environment variable
replaced during execution.

You can complete filenames or off for a specific
invocation of CMD.EXE with the / F: ON or / F: OFF. You can complete
of all invocations of CMD.EXE on or off on one computer and / or
user logon session by setting either or both of the
following REG_DWORD values in the registry using REGEDT.EXE:

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Command Processor \ Completion Char
HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Command Processor \ PathCompletionChar

and / or

HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor \ Completion Char
HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor \ PathCompletionChar

with the hexadecimal value of a used one for stabbing controls
some function (eg 0x4 is Ctrl-D and 0x6 is Ctrl-F). The user-specific
settings take precedence over the settings for the computer. The command-line
switches take precedence over the registry settings.

If completion is enabled with the / F: ON the two used
control characters Ctrl-D for directory name completion and Ctrl-F for completion
of file names. To a certain completion stabbing in the registry to
can disable the value for space (0x20) as it is not
valid control is stabbing.

Completion is invoked when one of the two control characters
type. The completion function takes the string with the path
to the left of the cursor appends a wild card character to it and makes
a list of paths that match. Then the first
matching path. If no paths match, a
sound output and the list is not updated. Thereafter, repeated
pressing the Control key with the stabbing through the list
matching paths. If the Shift key and the key with the
Control stabbing is pressed in the opposite direction by the
scrolled list. If you edit the line change and then press the
with the control character again, the list of matching paths
discarded and a new list generated. The same happens when you
switching between auto fill of names of folders and files. It
only difference between the two control characters is the sign for
file completion both file names and folder names will, while
the directory name completion character only matches directory names. To complement
File names are used for the built mapopdrachten (CD, MD or
RD) then directory completion is assumed.

The code of auto complete processed file names with spaces
or other special characters by embedding in quotation marks. Also
the text on the right of the cursor at the time automatically
complement is called discarded.

Special characters for which quotes are required:
<space>
&()[]{}^=;!' , `~

C: \ Users \ User> cmd /?
A new copy of the Windows command interpreter

CMD [/ A | / U] [/ Q] [/ D] [/ E: ON | / E: OFF] [/ F: ON | / F: OFF] [/ V: ON | / V: OFF]
[[/ S] [/ C | / K] string]

/ C Carries out the command specified by string and then terminates
/ K Carries out the command specified by string but remains
active
/ S Modifies the treatment of string after / C or / K (see below)
/ Q Turns echo off
/ D execution of AutoRun commands from registry disable
(see below)
/ A Causes the output of internal commands to a pipe or file is ANSI
/ U Causes the output of internal commands to a pipe or file
Unicode
/ T: fg Sets the foreground / background colors (see COLOR /? For more info)
/ E: ON Enable command extensions (see below)
/ E: OFF Disable command extensions (see below)
/ F: ON Enable completion characters in file and folder names
(see below)
/ F: OFF Disable sign complete file and directory name
(see below)
/ V: ON Enable delayed environment variable expansion using! as
separation stabbing. For example: / V: ON would allow! Var! to the variable
var at execution time to knit. The var syntax expands
variables at input time, which is quite different within a
FOR loop.
/ V: OFF Disable delayed environment expansion out.

Note that multiple commands separated by command -
stabbing separator '& &' are accepted as a string
they are surrounded by quotation marks. For
compatibility reasons, / X is the same as / E: ON, / Y
same as / E: OFF and / R is the same as / C. All other
switches are ignored.

If / C or / K is specified, the rest of the command line after the
switch is processed as a command line, which in the following way
double quotes are processed:

1. If all the following conditions are met, are
quotes on the command line are preserved:

- No / S switch
- Exactly two quote marks
- No special characters between the quotation marks (especially
(&<>()@^|)
- One or more spaces between the quotation marks
- The string between two quotation marks is the name of
an executable file.

2. Otherwise, see if the first character is a quotation stabbing
and if so, the first and last character
quotation stabbing away from the command line, allowing all
text after the last quote is kept stabbing.

If / D was NOT specified on the command line when you start
CMD.EXE searched for the following REG_SZ / REG_EXPAND_SZ registry variables and
if one or both are present, are executed first.

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Command Processor \ AutoRun

and / or

HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor \ AutoRun

Command Extensions are enabled by default. You can also extensions
off for a particular invocation by using the
switch / E: OFF. You can enable or disable extensions for all
invocations of CMD.EXE on a computer and / or user logon session
by setting one or both of the following REG_DWORD values
in the register to 0x1 or 0x0 using REGEDT.EXE:

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Command Processor \ Enable Extensions

and / or

HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor \ Enable Extensions

The user specific setting takes precedence over the setting of the computer.
The command line switches take precedence over the registry settings.

In a batch file, the argument of setlocale ENABLE EXTENSIONS
DISABLEEXTENSIONS a higher priority than the / E: ON or / E: OFF.
See setlocale /? for more information.

The command extensions involve changes and / or additions to the
following commands:

DEL or ERASE
COLOR
CD or CHDIR
MD or MKDIR
PROMPT
PUSHD
Popd
SET
Setlocale
Endlocal
IF
FOR
CALL
SHIFT
GOTO
START (including changes to external command invocation)
ASSOC
FTYPE

Type command name /? specific details of a contract to display.

Delayed environment variable is NOT standard
enabled. You can enable or disable a
particular invocation of CMD.EXE with the / V: ON or / V: OFF.
You can extend any delayed calling CMD.EXE or
off on one computer and / or user logon session by
Set one or both of the following REG_DWORD values in the
Register on 0x1 or 0x0 using REGEDT.EXE:

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Command Processor \ DelayedExpansion

and / or

HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor \ DelayedExpansion

The user specific setting takes precedence over the setting of the computer.
The command line switches take precedence over the registry settings.

In a batch file to the argument of setlocale ENABLE EXTENSIONS
DISABLEEXTENSIONS a higher priority than the / E: ON or / E: OFF.
See setlocale /? for more information.

If delayed environment variable expansion is enabled, the
exclamation used to value the environment variable
replaced during execution.

You can complete filenames or off for a specific
invocation of CMD.EXE with the / F: ON or / F: OFF. You can complete
of all invocations of CMD.EXE on or off on one computer and / or
user logon session by setting either or both of the
following REG_DWORD values in the registry using REGEDT.EXE:

HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Command Processor \ Completion Char
HKEY_LOCAL_MACHINE \ Software \ Microsoft \ Command Processor \ PathCompletionChar

and / or

HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor \ Completion Char
HKEY_CURRENT_USER \ Software \ Microsoft \ Command Processor \ PathCompletionChar

with the hexadecimal value of a used one for stabbing controls
some function (eg 0x4 is Ctrl-D and 0x6 is Ctrl-F). The user-specific
settings take precedence over the settings for the computer. The command-line
switches take precedence over the registry settings.

If completion is enabled with the / F: ON the two used
control characters Ctrl-D for directory name completion and Ctrl-F for completion
of file names. To a certain completion stabbing in the registry to
can disable the value for space (0x20) as it is not
valid control is stabbing.

Completion is invoked when one of the two control characters
type. The completion function takes the string with the path
to the left of the cursor appends a wild card character to it and makes
a list of paths that match. Then the first
matching path. If no paths match, a
sound output and the list is not updated. Thereafter, repeated
pressing the Control key with the stabbing through the list
matching paths. If the Shift key and the key with the
Control stabbing is pressed in the opposite direction by the
scrolled list. If you edit the line change and then press the
with the control character again, the list of matching paths
discarded and a new list generated. The same happens when you
switching between auto fill of names of folders and files. It
only difference between the two control characters is the sign for
file completion both file names and folder names will, while
the directory name completion character only matches directory names. To complement
File names are used for the built mapopdrachten (CD, MD or
RD) then directory completion is assumed.

The code of auto complete processed file names with spaces
or other special characters by embedding in quotation marks. Also
the text on the right of the cursor at the time automatically
complement is called discarded.

Special characters for which quotes are required:
<space>
&()[]{}^=;!' , `~

C: \ Users \ User>

BC AdBot (Login to Remove)

 


#2 Grinler

Grinler

    Lawrence Abrams


  • Admin
  • 43,618 posts
  • ONLINE
  •  
  • Gender:Male
  • Location:USA
  • Local time:01:32 PM

Posted 30 October 2009 - 04:19 PM

May I ask why this was posted?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users