Re: dos commands

new topic     » goto parent     » topic index » view thread      » older message » newer message

> 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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu