Re: dos commands
- Posted by "Wolf" <wolfritz at king.igs.net> Jun 07, 2005
- 454 views
> If i copy/paste the line putted to another dos box, it runs fine, the file > gets > deleted. Then i put the file back, let the system_exec() line run, and junk = > - > 1, the file is not deleted. What am i doing wrong? To run .bat files, or built-in DOS commands, you need system(). Some commands, such as DEL, are not programs, they are actually built-in to the command interpreter.