text
stringlengths
0
4.23k
online volume
Takes the offline volume with focus to the online state.
openfiles
Enables an administrator to query, display, or disconnect files and directories that have been opened on a system. This command also enables or disables the system Maintain Objects List global flag.
openfiles /disconnect
Enables an administrator to disconnect files and folders that have been opened remotely through a shared folder.
Syntax
openfiles /disconnect [/s <system> [/u [<domain>\]<username> [/p [<password>]]]] {[/id <openfileID>] | [/a <accessedby>] | [/o {read | write | read/write}]} [/op <openfile>]
Parameters
Parameter
Description
/s <system>
Specifies the remote system to connect to (by name or IP address). Don't use backslashes. If you don't use the /s option, the command is run on the local computer by default. This parameter applies to all files and folders that are specified in the command.
/u [<domain>\]<username>
Runs the command using the permissions of the specified user account. If you don't use the /u option, system permissions are used by default.
/p [<password>]
Specifies the password of the user account that is specified in the /u option. If you don't use the /p option, a password prompt appears when the command is run.
/id <openfileID>
Disconnects open files by the specified file ID. You can use the wildcard character (*) with this parameter.Note: You can use the openfiles /query command to find the file ID.
/a <accessedby>
Disconnects all open files associated with the user name specified in the accessedby parameter. You can use the wildcard character (*) with this parameter.
/o {read | write | read/write}
Disconnects all open files with the specified open mode value. Valid values are Read, Write, or Read/Write. You can use the wildcard character (*) with this parameter.
/op <openfile>
Disconnects all open file connections that are created by a specific open file name. You can use the wildcard character (*) with this parameter.
/?
Displays help at the command prompt.
<system>
[<domain>\]<username>
[<password>]
<openfileID>
Note: You can use the openfiles /query command to find the file ID.
<accessedby>
{read | write | read/write}
<openfile>
Examples
To disconnect all open files with the file ID 26843578, type:
openfiles /disconnect /id 26843578
To disconnect all open files and directories accessed by the user hiropln, type:
openfiles /disconnect /a hiropln
To disconnect all open files and directories with read/write mode, type:
openfiles /disconnect /o read/write
To disconnect the directory with the open file name *C:\testshare*, regardless of who is accessing it, type:
openfiles /disconnect /a * /op c:\testshare\
To disconnect all open files on the remote computer srvmain that are being accessed by the user hiropln, regardless of their ID, type:
openfiles /disconnect /s srvmain /u maindom\hiropln /id *
openfiles /query
Queries and displays all open files.
Syntax
openfiles /query [/s <system> [/u [<domain>\]<username> [/p [<password>]]]] [/fo {TABLE | LIST | CSV}] [/nh] [/v]
Parameters
Parameter
Description
/s <system>
Specifies the remote system to connect to (by name or IP address). Don't use backslashes. If you don't use the /s option, the command is run on the local computer by default. This parameter applies to all files and folders that are specified in the command.
/u [<domain>\]<username>
Runs the command using the permissions of the specified user account. If you don't use the /u option, system permissions are used by default.
/p [<password>]
Specifies the password of the user account that is specified in the /u option. If you don't use the /p option, a password prompt appears when the command is run.
[/fo {TABLE | LIST | CSV}]