Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Command line share

Status
Not open for further replies.

jguillory

IS-IT--Management
Jun 7, 2001
60
0
0
US
How can I use a batch file in Win98 to create a share?
 
HI
To share
NET SHARE myShareName=c:\myDirectoryToShare /UNLIMITED

To delete a share
NET SHARE myShareName /d

To connect to a share
NET USE S: \\ServerName\ServerDrive /YES
where S: is the drive letter assigned.

To disconnect from a shared directory
NET USE S: /d

ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top