Click here to Skip to main content
15,921,840 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Hi all,
When I use commandline I see that: To finish an command with "/?" then I get its help, e.g:
C:\net/?
and get:
VB
NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
      HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
      SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]

So where are saved they? Thank in advandce.
Posted

I don't know, but I have a batch file that automatically documents all available help in a single HTML document. Run this batch to generate this document:

Help generator — batch file.

This is not my work. Sorry, cannot tell the author right now; should be somewhere on my records.

—SA
 
Share this answer
 
v2
Comments
Espen Harlinn 2-Feb-11 16:10pm    
Nice batch file, 5+
Sergey Alexandrovich Kryukov 2-Feb-11 16:38pm    
Thank you, Espen.
Again, it's not mine, but this find saved good amount of my time.

(By the way, then I learned that batch language is no more such extreme crap as it was in the past. Now you can even make functions with variables, did you know that? Still crap, but without extreme crapwork...)

--SA
It's not unusual for console/commandline to embed the help text either as text in the code, as a resource, as a resource in a dll. I suspect that many of the Windows command line tools use resources located in language specific dll's.

Regards
Espen Harlinn
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900