![]() Also, note, although the descriptions at the link are frequently better than in help, the OSs to which they apply are not always accurate (e.g. Online help suggests it should work but it doesn't (the ISE actually misinterprets /? as an operand and tries to load the file /?. Note, command line help doesn't work for some programs that open in the GUI environment, such as PowerShell_ISE (which is why my fourth sentence, above, says "essentially"). EXE could be treated as a command and you'll notice the compendium at the link includes traditional "commands", "command line utilities", system tools, and invocations for programs such as PowerShell and PowerShell_ISE. You can find a rather comprehensive list of commands here, though a lot depends on how you define a command. ![]() One oddball, SC responds to all of HELP SC, SC /HELP, and SC /? providing the same help but in all three cases the help begins with an error. Apparently wherever HELP doesn't work /HELP is possible as an alternative, just like with network commands (for example DEFRAG /HELP works). WINSAT is an example of a command that requires /? for help but fails silently if not run as an administrator. There are also some commands, such as DEFRAG that are treated more as utilities, rather than commands, in the documentation, that have help available but again only with /?. Examples are some commands that are relics from prior versions of windows such as BOOTCFG (used in Windows XP, but in Vista and Windows 7 you use BCDEDIT). Normally Windows will tell you if you use HELP with these commands that you should try /?. There are some system commands that are not documented in HELP but for which you can obtain help with the help switch /? (i.e. There are many system commands for which /? works but HELP doesn't. For still others, such as HOSTNAME, the two helps provide different information, the /? switch provides help and the /HELP switch provides some (very limited) guidance on setting hostnames (at least on my system). However, for other network commands, such as FINGER, IPCONFIG, and NBTSTAT, /HELP and /? return identical results. To obtain help for a network commands in the NET format, such as NET USE, you can enter NET HELP USE or NET USE /HELP NET USE /? will return the syntax only. Network commands require /HELP or /? For network commands, it gets a little complicated. ![]() Additionally, two of the documented commands, DISKPART and FSUTIL require administrative privileges to even obtain the help (and DISKPART fails silently if you aren't an administrator). Contrary to what James suggests in his comment to your own answer, if HELP works then /? also works, the reverse, however, is not true. Except that on my Windows 7 Home Edition system for some reason GRAFTABL has an entry in help but appears not to exist (it's there on the Enterprise Edition I use at work) all other commands that are documented in HELP have help. HELP and /? work for everything listed in HELP. The /? switch works for essentially everything that is documented, but for a very small set of network commands it only provides the parameters. There are many commands/utilities not listed in HELP for which help is available with /HELP or /? and network commands require the use of NET HELP or /HELP. ![]() HELP only works for system commands that are listed when you run HELP without an operand.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |