NetSoft Computer Networks
Last Updated
March 10th
1997

Mirror Sites
NetSoft LAN
Download the
Software

Network Card
Drivers

Secure
Features
User's Guide
Help
VeriSign

Search
Distribution
Rights

Listserv
Shareware Links
Order Now
Order the
Software

Help Us
Promote
NetSoft LAN

Dealer
Enquires
Welcome

Home Page
http://www.netsoft.ie/
CHAPTER 3

The NET Command


NET Command Syntax Chart


SymbolsPurpose
{ }Braces indicate a parameter you must use
[ ]Brackets indicate an optional parameter
|Bar indicates a choice of parameters
d:Indicates a drive letter from A: to Z: (LASTDRIVE= parameter must be set in your CONFIG.SYS file if you wish to use drives F: through Z:)
pathIndicates a drive and directory (e.g. C:\ACCOUNTS)
password1-8 or 1-16 character password
/rights/R /W /RW /WC /RWC Read, Write, Create (only take effect if PROTECT.COM is loaded)
deviceA DOS device name: PRN, LPT1, LPT2, LPT3 or LPT4, COM1, COM2, COM3 or COM4
network name1-8 characters that represent a drive and path or device name
computername1-15 characters identifying a computer starting with a double backslash ('\\')
number1-25 digit telephone number that may include Hayes dial syntax commands
commandAny valid NET command or sub command
/dIndicates that you wish to cancel a previous NET SHARE command or NET USE command

You must include all punctuation (except braces, brackets and bars) such as periods, equal signs, forward slashes and backslashes, where illustrated in the syntax.

NET VIEW


This command is useful when you need to view the display on a remote machine's screen. Using this command, you can view any remote machine's screen in real time, from any machine on the network.

If you do not wish other users to see what is on your screen, you can disable this function by setting the NetView= parameter in your DOSNET.INI file to 0 (disable).

On slow network links such as modems, this command may take a few seconds before it updates your screen. This is because the entire screen (4k) is sent down the communications line. If you are using a modem and color is unimportant, you should use the optional parameter MONO which returns only the characters on the screen, but not the colors.

This command also displays the correct palette selection when viewing EGA or VGA type screens.

Syntax: NET VIEW {\\computername} [MONO | FAST | MODEM | PASSWORD]

To use the NET VIEW command to display the screen output of the machine (known as \\SERVER1), type the following command:

NET VIEW \\SERVER1 PASSWORD

If a PASSWORD is required you must specify the password as specified for the SysPass= parameter in the remote machine's DOSNET.INI file under the heading [SETUP].

The MONO option displays only the characters on the remote screen, not the colors.

The MODEM option displays the screen in 2k blocks instead of 1k blocks.

The FAST option updates the display as fast as possible (not recommended over modems).

The MONO, FAST, MODEM and PASSWORD options may be specified in any order.

The table below lists the screen modes supported by the current NET VIEW command:


BIOS ModeResolutionMonitor/CardsText/Graphics
00h/01h40x25C/E/VText
00h/01h80x25C/E/VText
00h/01h320x200C/E/VGraphics
06h640x200C/E/VGraphics
07h80x25M/E/VText
08h160x200M/E/VGraphics
09h/0Ah320x200J/E/VGraphics
J=PCjr, M=MDA, C=CGA, E=EGA, V=VGA
EGA 43 rows and VGA 50 rows are also supported.

NOTE The remote user being viewed will not be aware that their screen is being viewed by other users. If you are working with sensitive information such as spreadsheets or accounts software, which must be kept private, you should disable the NET VIEW function as explained above or change the SysPass= parameter in the DOSNET.INI file to a secret password.
[Top of Page]
[Chapter 4] [Chapter 2]
[Table of Contents] [Home Page]

Prices and World Wide Ordering Information

Copyright © 1997 NetSoft Computer Networks. All Rights Reserved.
20 Sea Road, Galway, Ireland.
Tel (353)+91-529607.