Click to Rate and Give Feedback
A-Z List

Updated: October 25, 2010

Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista

Alphabetical listing of commands:

Community Content   What is Community Content?
Add new content RSS  Annotations
Please add the return/exit codes and their respective meaning in the documentation      Alain B-H   |   Edit   |   Show History
You could also consider to add them to /? outputs.
The missing parts of the command line documentations are...      Alain B-H   |   Edit   |   Show History

The list of the return/exit codes and their respective meaning...

Please add them to the documentation (either in /? output and here)

Many thanks

Where is the "net use" command?      JediSQL   |   Edit   |   Show History
I am able to use the "net use" command in command prompt in Windows 7. Why is it not documented here?

C:\Users\danjam>ver

Microsoft Windows [Version 6.1.7600]

C:\Users\danjam>net use /?
The syntax of this command is:

NET USE
[devicename | *] [\\computername\sharename[\volume] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[username@dotted domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]

C:\Users\danjam>net use P: \\fileman80\Private\danjam /persistent:yes
The command completed successfully.

C:\Users\danjam>net /?
The syntax of this command is:

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

C:\Users\danjam>

I believe Microsoft had to take the "Easter eggs" out of Windows because the Department of Defense requires that computer systems it uses have no undocumented features. I have identified several undocumented features of the "net" command. This problem exists in the built-in Windows 7 help as well.

Tags What's this?: Add a tag
Flag as ContentBug
* Sfc      Drewfus   |   Edit   |   Show History

Microsoft (R) Windows (R) Resource Checker Version 6.0
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

Scans the integrity of all protected system files and replaces incorrect versions with
correct Microsoft versions.

SFC [/SCANNOW] [/VERIFYONLY] [/SCANFILE=<file>] [/VERIFYFILE=<file>]
[/OFFWINDIR=<offline windows directory> /OFFBOOTDIR=<offline boot directory>]


/SCANNOW Scans integrity of all protected system files and repairs files with
problems when possible.
/VERIFYONLY Scans integrity of all protected system files. No repair operation is
performed.
/SCANFILE Scans integrity of the referenced file, repairs file if problems are
identified. Specify full path <file>
/VERIFYFILE Verifies the integrity of the file with full path <file>. No repair
operation is performed.
/OFFBOOTDIR For offline repair specify the location of the offline boot directory
/OFFWINDIR For offline repair specify the location of the offline windows directory

e.g.

sfc /SCANNOW
sfc /VERIFYFILE=c:\windows\system32\kernel32.dll
sfc /SCANFILE=d:\windows\system32\kernel32.dll /OFFBOOTDIR=d:\ /OFFWINDIR=d:\windows
sfc /VERIFYONLY


Processing
© 2012 Microsoft. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker