text stringlengths 0 4.23k |
|---|
Displays the output in the specified format. Valid values include:TABLE - Displays output in a table.LIST - Displays output in a list.CSV - Displays output in Comma Separated Values (CSV) format. |
/nh |
Suppresses column headers in the output. Valid only when the /fo parameter is set to TABLE or CSV. |
/v |
Specifies that detailed (verbose) information be displayed in the output. |
/? |
Displays help at the command prompt. |
<system> |
[<domain>\]<username> |
[<password>] |
{TABLE | LIST | CSV} |
Examples |
To query and display all open files, type: |
openfiles /query |
To query and display all open files in table format without headers, type: |
openfiles /query /fo table /nh |
To query and display all open files in list format with detailed information, type: |
openfiles /query /fo list /v |
To query and display all open files on the remote system srvmain by using the credentials for the user hiropln on the maindom domain, type: |
openfiles /query /s srvmain /u maindom\hiropln /p p@ssW23 |
Note |
In this example, the password is supplied on the command line. To prevent displaying the password, leave out the /p option. You'll be prompted for the password, which won't be echoed to the screen. |
openfiles /local |
Enables or disables the system Maintain Objects List global flag. If used without parameters, openfiles /local displays the current status of the Maintain Objects List global flag. |
Note |
Changes made by using the on or off option don't take effect until you restart the system. Enabling the Maintain Objects List global flag might slow down your system. |
Syntax |
openfiles /local [on | off] |
Parameters |
Parameter |
Description |
[on | off] |
Enables or disables the system Maintain Objects List global flag, which tracks local file handles. |
/? |
Displays help at the command prompt. |
[on | off] |
Examples |
To check the current status of the Maintain Objects List global flag, type: |
openfiles /local |
By default, the Maintain Objects List global flag is disabled, and the following message appears, INFO: The system global flag 'maintain objects list' is currently disabled. |
INFO: The system global flag 'maintain objects list' is currently disabled. |
To enable the Maintain Objects List global flag, type: |
openfiles /local on |
The following message appears when the global flag is enabled, SUCCESS: The system global flag 'maintain objects list' is enabled. This will take effect after the system is restarted. |
SUCCESS: The system global flag 'maintain objects list' is enabled. This will take effect after the system is restarted. |
To disable the Maintain Objects List global flag, type: |
openfiles /local off |
pagefileconfig |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2 |
Important |
This command has been deprecated. |
Enables an administrator to display and configure a system's paging file Virtual Memory settings. For descriptions and usage information, see pagefileconfig. |
path |
Sets the command path in the PATH environment variable, specifying the set of directories used to search for executable (.exe) files. If used without parameters, this command displays the current command path. |
Syntax |
path [[<drive>:]<path>[;...][;%PATH%]] |
path ; |
Parameters |
Parameter |
Description |
[<drive>:]<path> |
Specifies the drive and directory to set in the command path. The current directory is always searched before the directories specified in the command path. |
; |
Separates directories in the command path. If used without other parameters, ; clears the existing command paths from the PATH environment variable and directs Cmd.exe to search only in the current directory. |
%PATH% |
Appends the command path to the existing set of directories listed in the PATH environment variable. If you include this parameter, Cmd.exe replaces it with the command path values found in the PATH environment variable, eliminating the need to manually enter these values at the command prompt. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.