foxidrive
Sat Mar 15 13:02:06 CDT 2008
On Sat, 15 Mar 2008 10:46:46 -0600, "Paul Randall" <paulr901@cableone.net>
wrote:
>As mayayana said, the EXE may have no help information.
>One thing you might try is to read the entire file into a string,
>change all non-text characters (Chr0 to Chr31 and Chr 128 to Chr255)
>to Chr32 (space), then write the string to a .txt file. Then view the
>text file with notepad or some other plain text viewer. Sometimes you
>will find useful info and sometimes you don't. Maybe someone will
>post a script or regular expression to blank out the non-text
>characters.
>
>-Paul Randall
>
Peek.com is 960 bytes and useful for this Paul.
PEEK
reads the text parts of any file, even with extensions like
EXE, COM, OVR, OBJ, HLP, BAS, BIN, DEF, FMT, DBF, SYS etc.
It will also read text files: TXT, DOC, DAT, LST etc.
It ignores graphic characters and omits empty lines.
Correct syntax is PEEK [/p] filename.ext [>newfile.ext]
Optional switches: /p displays one screen at a time
(may be anywhere /w forces WordStar interpretation
on command line) (normally automatic)
The output may be redirected into a disk file ( newfile.ext
above ) and edited and/or printed out.
If you have forgotten what a program does, or its syntax, you
will generally find in the PEEK output:
1) The origin and author of the program
2) Any Help messages
3) Clues to syntax, special switches, etc.
Jan Machacek Autelco Ltd., 103 London Road,
March 1989 Staines, Middx. TW18 4HN
--
Posted via a free Usenet account from
http://www.teranews.com