Network Commands

The following are some of the more
commonly used network commands


NET USE

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

or

NET HELP USE | MORE

NET PRINT

Displays information about print queues and controls print jobs.

NET PRINT \\computer[\printer] | port [/YES]NET PRINT \\computer | port [job# [/PAUSE | /RESUME |

/DELETE]] [/YES]

computer Specifies the name of the computer whose print queue you want information about.
printer Specifies the name of the printer you want information about.
port Specifies the name of the parallel (LPT) port on your computer that is connected to the printer you want information about.
job# Specifies the number assigned to a queued print job. You can specify the following options:

/PAUSE Pauses a print job.

/RESUME Restarts a print job that has been paused.

/DELETE Cancels a print job.
/YES Carries out the NET PRINT command without first Prompting you to provide information or confirm actions.

NET VER

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.

NET CONFIG

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
Login Information:
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.

NET TIME

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.