News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

EXEC PROG

Started by SirEric, May 23, 2005, 10:30:05 PM

Previous topic - Next topic

SirEric

I need a simple code to execute a program such as an exe, com or even reg!
If any help could be given it would be appreciated :U

~SirEric

mnemonic

Hi SirEric,

welcome in here.

I never did something like that, but a search on google brought up some results that would be worth looking at.
Here it is: http://www.google.de/search?hl=de&q=dos+int+execute&meta=

Good luck & regards
Be kind. Everyone you meet is fighting a hard battle.--Plato
-------
How To Ask Questions The Smart Way

MichaelW

Hi SirEric,

You would normally use Interrupt 21h, Function 4B00h, Load and Execute Program. See Ralf Brown's Interrupt list for more information.

An HTML version is here:

http://www.ctyme.com/rbrown.htm

And the download version here:

http://www-2.cs.cmu.edu/~ralf/files.html

EDIT: I removed the LoadExec structure and the initialization code to save Sluggy the trouble :bg
eschew obfuscation

sluggy

Quote from: MichaelW on May 23, 2005, 11:24:42 PMEDIT: I removed the LoadExec structure and the initialization code to save Sluggy the trouble :bg

Thanks  :U :bg

SirEric

Thank you much for the replies!

I am workign on a prog for some friends to be able to do sum complicated regedits and file movements to hep them do some settign changes. Ill post it whn i am done...

Good luck,
SirEric