E
Edward
Well.. It's a very advanced question.. It will exercise your minds, and solve
my problem.. I thank very much who can help me.. (and forgive me for my poor
english)
That's the question:
I NEED TO KNOW INSIDE A DOS PROGRAM, IF IT WAS CALLED BY AUTOEXEC.BAT OR NOT.
In another words: If autoexec is in execution or is finished.
I tried this way:
Inside the program I tried to modify or delete autoexec.bat. So, if I could,
autoexec is close and if I couldn't, it's open and then I'd have my answer...
It didn't work, because even when it's running you can delete it, and at the
time to run the next command inside it, a message like "batch file is
missing" appears.
So, I believe somewhere in memory the name of the batch file running is
storaged.
Where is it?
Does anybody have a different way to solve my problem?
Thank you very much..
Ed
my problem.. I thank very much who can help me.. (and forgive me for my poor
english)
That's the question:
I NEED TO KNOW INSIDE A DOS PROGRAM, IF IT WAS CALLED BY AUTOEXEC.BAT OR NOT.
In another words: If autoexec is in execution or is finished.
I tried this way:
Inside the program I tried to modify or delete autoexec.bat. So, if I could,
autoexec is close and if I couldn't, it's open and then I'd have my answer...
It didn't work, because even when it's running you can delete it, and at the
time to run the next command inside it, a message like "batch file is
missing" appears.
So, I believe somewhere in memory the name of the batch file running is
storaged.
Where is it?
Does anybody have a different way to solve my problem?
Thank you very much..
Ed