win2000 DOS command???

G

Gekko

greets all.
I was messing with dos on a win2000 machine just now, and I typed
in 'net /?' (minus quotes) and this is what it came up with ::::::::;
-----------------------
C:\>net /?
The syntax of this command is:


NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
---------------------

but thats all it says. (I used 'mark' copy/paste)
Can anyone enlighten me or elaborate?
I tried it on win98se Dos plus I also tried 4Dos, but both just said bad
command.
Gekko
 
J

Jim Howes

Gekko said:
greets all.
I was messing with dos on a win2000 machine just now, and I typed
in 'net /?' (minus quotes) and this is what it came up with ::::::::;

NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]

but thats all it says. (I used 'mark' copy/paste)
Can anyone enlighten me or elaborate?

You could try

C:\> NET command /?
for more detailed information. Eg. NET USE /?

Google's top match for "MS-DOS NET command" is
http://www.computerhope.com/nethlp.htm

About the only things I use on a regular basis are:

NET USE x: \\SERVER\SHARE
to map a network share 'SHARE' on 'SERVER' to drive x:
NET USE x: /del
to unmap it
Handy for batch files that run commands that for one reason or another do not
understand UNC paths (i.e. \\SERVER\SHARE\DIR\DIR\FILE.EXT)
NET USER fred
Displays login details about 'fred'. Useful if you have a server with _lots_ of
accounts, and you want to prune inactive accounts, as it displays last login
times, among other things.

The rest of the commands are not that convenient, mainly because they are not
things I need to do on a regular basis, and are usually easier to configure
properly using the GUI (for instance, NET SHARE creates network shares, but
assigning proper user rights to them from the command line is a nightmare,
compared to the GUI share permissions dialog)

Jim
 
G

Gekko

Cheers for that Jim,
it cleared up a few things.
Gekko

Jim Howes said:
Gekko said:
greets all.
I was messing with dos on a win2000 machine just now, and I typed
in 'net /?' (minus quotes) and this is what it came up with ::::::::;

NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]

but thats all it says. (I used 'mark' copy/paste)
Can anyone enlighten me or elaborate?

You could try

C:\> NET command /?
for more detailed information. Eg. NET USE /?

Google's top match for "MS-DOS NET command" is
http://www.computerhope.com/nethlp.htm

About the only things I use on a regular basis are:

NET USE x: \\SERVER\SHARE
to map a network share 'SHARE' on 'SERVER' to drive x:
NET USE x: /del
to unmap it
Handy for batch files that run commands that for one reason or another do not
understand UNC paths (i.e. \\SERVER\SHARE\DIR\DIR\FILE.EXT)
NET USER fred
Displays login details about 'fred'. Useful if you have a server with _lots_ of
accounts, and you want to prune inactive accounts, as it displays last login
times, among other things.

The rest of the commands are not that convenient, mainly because they are not
things I need to do on a regular basis, and are usually easier to configure
properly using the GUI (for instance, NET SHARE creates network shares, but
assigning proper user rights to them from the command line is a nightmare,
compared to the GUI share permissions dialog)

Jim
 
T

Todd

C:\>net help
The syntax of this command is:


NET HELP command
-or-
NET command /HELP

Commands available are:

NET ACCOUNTS NET HELP NET SHARE
NET COMPUTER NET HELPMSG NET START
NET CONFIG NET LOCALGROUP NET STATISTICS
NET CONFIG SERVER NET NAME NET STOP
NET CONFIG WORKSTATION NET PAUSE NET TIME
NET CONTINUE NET PRINT NET USE
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW

NET HELP SERVICES lists the network services you can start.
NET HELP SYNTAX explains how to read NET HELP syntax lines.
NET HELP command | MORE displays Help one screen at a time.

Todd
 
G

Gekko

Thanks Tod,
Gekko

Todd said:
C:\>net help
The syntax of this command is:


NET HELP command
-or-
NET command /HELP

Commands available are:

NET ACCOUNTS NET HELP NET SHARE
NET COMPUTER NET HELPMSG NET START
NET CONFIG NET LOCALGROUP NET STATISTICS
NET CONFIG SERVER NET NAME NET STOP
NET CONFIG WORKSTATION NET PAUSE NET TIME
NET CONTINUE NET PRINT NET USE
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW

NET HELP SERVICES lists the network services you can start.
NET HELP SYNTAX explains how to read NET HELP syntax lines.
NET HELP command | MORE displays Help one screen at a time.

Todd

Gekko said:
greets all.
I was messing with dos on a win2000 machine just now, and I typed
in 'net /?' (minus quotes) and this is what it came up with ::::::::;
-----------------------
C:\>net /?
The syntax of this command is:


NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
---------------------

but thats all it says. (I used 'mark' copy/paste)
Can anyone enlighten me or elaborate?
I tried it on win98se Dos plus I also tried 4Dos, but both just said bad
command.
Gekko
 
G

Gekko

Thanks Tod.
Why is it not native to 9x when documentation says it is?
Gekko

Todd said:
C:\>net help
The syntax of this command is:


NET HELP command
-or-
NET command /HELP

Commands available are:

NET ACCOUNTS NET HELP NET SHARE
NET COMPUTER NET HELPMSG NET START
NET CONFIG NET LOCALGROUP NET STATISTICS
NET CONFIG SERVER NET NAME NET STOP
NET CONFIG WORKSTATION NET PAUSE NET TIME
NET CONTINUE NET PRINT NET USE
NET FILE NET SEND NET USER
NET GROUP NET SESSION NET VIEW

NET HELP SERVICES lists the network services you can start.
NET HELP SYNTAX explains how to read NET HELP syntax lines.
NET HELP command | MORE displays Help one screen at a time.

Todd

Gekko said:
greets all.
I was messing with dos on a win2000 machine just now, and I typed
in 'net /?' (minus quotes) and this is what it came up with ::::::::;
-----------------------
C:\>net /?
The syntax of this command is:


NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
---------------------

but thats all it says. (I used 'mark' copy/paste)
Can anyone enlighten me or elaborate?
I tried it on win98se Dos plus I also tried 4Dos, but both just said bad
command.
Gekko
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top