Закрыть файл, открытый по шаре.
2937
1
Johnnie
Мозг
Можно ли из командной строки закрыть сессию на файл, открытый по сети ? (аналог ComputerManagement->SharedFoldres->OpenFiles->CloseOpenFile)
вопрос снят
The syntax of this command is:
NET FILE
[id [/CLOSE]]
NET FILE closes a shared file and removes file locks. When used without
options, it lists the open files on a server. The listing includes the
identification number assigned to an open file, the pathname of the file,
the username, and the number of locks on the file.
This command works only on computers running the Server service.
id Is the identification number of the file.
/CLOSE Closes an open file and removes file locks. Type this command
from the server where the file is shared.
NET HELP command | MORE displays Help one screen at a time.
C:\Documents and Settings\Administrator>
The syntax of this command is:
NET FILE
[id [/CLOSE]]
NET FILE closes a shared file and removes file locks. When used without
options, it lists the open files on a server. The listing includes the
identification number assigned to an open file, the pathname of the file,
the username, and the number of locks on the file.
This command works only on computers running the Server service.
id Is the identification number of the file.
/CLOSE Closes an open file and removes file locks. Type this command
from the server where the file is shared.
NET HELP command | MORE displays Help one screen at a time.
C:\Documents and Settings\Administrator>