Discussion Locked

Demystifying a DOS program

0 helpful
13 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am trying to figure out the quirks of an old DOS program, written by someone in my company who has since left. There are no manuals for it, and no one currently here has really used it much. I am trying to figure it out by trial and error, but there are some things I can't figure. Is there a way I can see what it does or read the code? I tried "edit" and "write" commands, but all I see is a bunch of gibberish. Can someone help me?

13 replies

by it-sage (bschirf)

If this is a .BAT file, then you can edit it and read the commands. (Sometimes people refer to the DOS batch language as gibberish)

If this is a .COM file, then it's a compiled program, usually written in BASIC. Unfortunately, once it's compiled reverse-engineering the program is a little too complex to be answered here.

I do know that there are people that, for a fee, will do this for you.

HTHs...

Sorry...

by psnell

The file is actually a .exe file. I am familiar with DOS commands, and when I attempted to edit it, there were a number of misc. characters and words, but no commands.

by gnc

If this program was written in a 'BASIC' format, try looking for file(s) with a .BAS extension. This would be the code used to produce the .EXE file. Don't get the .BAS confused with a VB BAS file.

by trish_sutter

Sounds like compiled and linked source code. If the extension is *.EXE or *.COM then it most certainly is. If the extension is *.BAT then it is a batch file. (Doesn't like a batch file though.) If you can read assembler you could try a dis-assembler with the program. If's it is small use the DOS built in debug disassembler. Or Check some hacker sites or do a search for hack tools etc... There is some shareware called "disaster." It's $50, but it's out of the netherlands and they don'ttake US checks. The snail mail address is:

Feico Nater ShareWare
Beukweb 24
7556 DeHengeio
Netherlands

Good Luck!

by psnell

I have no idea what an assembler is, let alone how to read it or what it could tell me.

by otl

To obtain more information on this you can;

1. Go to the DOS prompt.
Type in debug (name of program)
enter d and look for a programming name in the far left text block this will give you a clue as to what assembler (program) was used.
Some popular ones were basica, foxbase, dbase (sorry it has been awhile since I've worked in assembly the list goes on).

2. Try looking for a .INI file which may give you a clue.

If you would like some help you can e-mail me at rfarrell8@juno.com

GOOD LUCK

by psnell

As I have no real knowledge of programming, this was a great help.. step by step directions to point me toward aspects I could find and control. Thanks!

by vinnyd

Since you said that this program is an EXE file, that means it is a compiled program.

Try searching the computer for the name of the program with an name.*

ex: name of program is test.exe do a search for test.*

This would find you the source code document for the program if it exists.

You should search all the computers that the person who orginally wrote this program used to see if you can find the source code.

Finding the source code is the key to figuring out how this program works.

This discussion is closed to new replies.