RMTSHARE.exe (NT Resource kit)
Share a folder or a printer on a remote or local server.
Although missing from the Windows 2000 Resource kit the NT version works fine under 2K.
syntax to display all shares RMTSHARE \\server to display details of a specific share RMTSHARE \\server\sharename to SHARE a Folder RMTSHARE \\server\sharename=drive:path [options] to SHARE a Printer RMTSHARE \\server\sharename=printername /PRINTER [options] to Edit an existing SHARE RMTSHARE \\server\sharename [options] to delete a SHARE RMTSHARE \\server\sharename /DELETE options /USERS:number /UNLIMITED /REMARK:"text" /GRANT user:perm /REMOVE user Notes Either specify /Users to restrict the number of connections that can be made OR specify /UNLIMITED You can include several /GRANTs in a single command line. Enclose paths that include spaces like this \\server\"long share name"="c:\long file name".
"How to be green? consume less, share more, enjoy life"
- Penny Kemp
NET USE - connect to a file share
REMOTE - Run a command on a remote computer (Resource Kit)
share.vbs - File sharing utility (Windows 2000 only)
Equivalent Linux BASH commands:
mount - Mount a file system