text stringlengths 0 4.23k |
|---|
Syntax |
set verbose {on | off} |
Parameters |
Parameter |
Description |
on |
Turns on verbose output logging during the shadow copy creation process. If verbose mode is on, set provides details of writer inclusion or exclusion and details of metadata compression and extraction. |
off |
Turns off verbose output logging during the shadow copy creation process. |
setx |
Creates or modifies environment variables in the user or system environment, without requiring programming or scripting. The Setx command also retrieves the values of registry keys and writes them to text files. |
Note |
This command provides the only command-line or programmatic way to directly and permanently set system environment values. System environment variables are manually configurable through Control Panel or through a registry editor. The set command, which is internal to the command interpreter (Cmd.exe), sets user environment variables for the current console window only. |
Syntax |
setx [/s <computer> [/u [<domain>\]<user name> [/p [<password>]]]] <variable> <value> [/m] |
setx [/s <computer> [/u [<domain>\]<user name> [/p [<password>]]]] <variable>] /k <path> [/m] |
setx [/s <computer> [/u [<domain>\]<user name> [/p [<password>]]]] /f <filename> {[<variable>] {/a <X>,<Y> | /r <X>,<Y> <String>} [/m] | /x} [/d <delimiters>] |
Parameters |
Parameter |
Description |
/s <computer> |
Specifies the name or IP address of a remote computer. Do not use backslashes. The default value is the name of the local computer. |
/u [<domain>\]<user name> |
Runs the script with the credentials of the specified user account. The default value is the system permissions. |
/p [<password>] |
Specifies the password of the user account that is specified in the /u parameter. |
<variable> |
Specifies the name of the environment variable that you want to set. |
<value> |
Specifies the value to which you want to set the environment variable. |
/k <path> |
Specifies that the variable is set based on information from a registry key. The path uses the following syntax: \\<HIVE>\<KEY>\...\<Value>. For example, you might specify the following path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation\StandardName |
/f <filename> |
Specifies the file that you want to use. |
/a <X>,<Y> |
Specifies absolute coordinates and offset as search parameters. |
/r <X>,<Y> <String> |
Specifies relative coordinates and offset from String as search parameters. |
/m |
Specifies to set the variable in the system environment. The default setting is the local environment. |
/x |
Displays file coordinates, ignoring the /a, /r, and /d command-line options. |
/d <delimiters> |
Specifies delimiters such as , or \ to be used in addition to the four built-in delimiters — SPACE, TAB, ENTER, and LINEFEED. Valid delimiters include any ASCII character. The maximum number of delimiters is 15, including built-in delimiters. |
/? |
Displays help at the command prompt. |
<computer> |
[<domain>\]<user name> |
<password> |
<variable> |
<value> |
<path> |
\\<HIVE>\<KEY>\...\<Value> |
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation\StandardName |
<filename> |
<X>,<Y> |
<X>,<Y> <String> |
<delimiters> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.