Click to See Complete Forum and Search --> : How to execute a batch file in a DOS TSR program?


Jean-Patrick
January 17th, 2001, 05:35 AM
Hi all,
I would like to know how to execute a batch file in a DOS TSR program. I trying with the system function but it return me an error same with the more simple command for DOS.
example of my code:
ret = system("c:\xxxx.bat");
but ret = -1

Please help me, thanx in advance.
Sorry for my english but i'm french.