Quick Documentation Tip

Discussion & Support for xplorer² professional

Moderators: fgagnon, nikos, Site Mods

User avatar
dpupello
Member
Member
Posts: 63
Joined: 2002 Feb 14, 15:47
Location: FL

Quick Documentation Tip

Post by dpupello »

Just thought I'd share a quick tip. This happens to be a quick way to produce the docs for PsTools (great collection of utilities), but could be expanded for any number of command-line programs.

Let's say you have a TOOLS folder with all your favorite command-line utilities. You want to create text files of each app's help screen(s). Here's how to do so:

Highlight all the .exe's using your favorite Xplorer2 method.

Now, go to the Command Script. (Control-B). Now type this:

"$N" /? > "$B.txt"

Click Preview if you like, to make sure it's coming out the way you want.

Then click Execute DOS. (Something I've longed to do, on occasion) ;) Shazam. All text files whipped out.

Now that it's in the Command Script history, even quicker next time.

Cheers.

Dennis