The following are some of the more
commonly used network commands
Makes Network File and Print Connections
|Connects or disconnects your computer from a shared resource or displays information about your connections.NET USE [drive: | *] [\\computer\directory [password | ?]][/SAVEPW:NO] [/YES] [/NO]
NET USE [port:] [\\computer\printer [password | ?]]
[/SAVEPW:NO] [/YES] [/NO]
NET USE drive: | \\computer\directory /DELETE [/YES]
NET USE port: | \\computer\printer /DELETE [/YES]
NET USE * /DELETE [/YES]
NET USE drive: | * /HOME
drive Specifies the drive letter you assign to a shared directory.
* Specifies the next available drive letter. If used with /DELETE, specifies to disconnect all of your connections.
Port Specifies the parallel (LPT) port name you assign to a shared printer.
Computer Specifies the name of the computer sharing the resource.
Directory Specifies the name of the shared directory.
Printer Specifies the name of the shared printer.
Password Specifies the password for the shared resource, if any.? Specifies that you want to be prompted for the password of the shared resource. You don’t need to use this option unless the password is optional.
/SAVEPW:NO Specifies that the password you type should not be saved in your password-list file. You need to retype the password the next time you connect to this resource.
/YES Carries out the NET USE command without first prompting you to provide information or confirm actions./DELETE Breaks the specified connection to a shared resource./NO Carries out the NET USE command, responding with NO automatically when you are prompted to confirm actions./HOME Makes a connection to your HOME directory if one is specified in your LAN Manager or Windows NT user account.To list all of your connections, type NET USE without options.
To see this information one screen at a time, type the following at the command prompt:
NET USE /? | MORE
NET HELP USE | MORE
Displays information about print queues and controls print jobs.
|NET PRINT \\computer[\printer] | port [/YES]NET PRINT \\computer | port [job# [/PAUSE | /RESUME |
computer Specifies the name of the computer whose print queue you want information about.
/PAUSE Pauses a print job.
/RESUME Restarts a print job that has been paused.
/DELETE Cancels a print job.
Displays the type and version number of the workgroup redirector you are using.
|Microsoft Client – Full Redirector. Version 4.00
Client for NetWare(R). Version 3.26
Copyright (c) Microsoft Corp. 1993-1995. All rights reserved.
Displays information about your workgroup settings.
|Computer name \\Computer Name
User name Login Name
Workgroup Workgroup Name
Workstation root directory C:\Windows
Software version 4.00.950
Redirector version 4.00
Client for NetWare version 3.26
Server Name ???
Server Version SFT NetWare 286 TTS V2.15 Rev. C
Login Name (Attached but not logged in)
Connection Number 40
The command was completed successfully.
Displays the time on or synchronizes your computer’s with the clock on a Microsoft Windows for Windows NT, or LAN Manager time server.
|NET TIME [\\computer | /WORKGROUP:wgname] [/SET] [/YES]computer Specifies the name of the computer (time server) whose time you want to check or synchronize your computer’s clock with.
/WORKGROUP Specifies that you want to use the clock on a computer (time server) in another workgroup.
wgname Specifies the name of the workgroup containing a computer whose clock you want to check or synchronize your computer’s clock with. If there are multiple time servers in that workgroup, NET TIME uses the first one it finds./SET Synchronizes your computer’s clock with the clock on the computer or workgroup you specify.
/YES Carries out the NET TIME command without first prompting you to provide information or confirm actions.Example:
NET TIME \\SERVER /SET /YES
This site is copyrighted. No portion may be reproduced without my written permission.