I want to run a DOS program from within a C enviroment so when the user selects something from this C compiled program it instigates another program , say a Batch file that is already on the hard disk.
How is this done?
Printable View
I want to run a DOS program from within a C enviroment so when the user selects something from this C compiled program it instigates another program , say a Batch file that is already on the hard disk.
How is this done?
If i wanted to copy a series of dos files onto a FDD how would I write the copy command into my program? i.e. how to Implement DOS commands into my code such as copy, format, scandisketc?
is there any way of making the files I want to copy into *.dat files so people are unable to see the indivdual files from explorer?
Well, if you wanted to, you could use System to do all of those...
You can use the system() command. Not a portabel solution but it works
youre right, that does work. But by opening the root of the drive im copying from, the user can see the files which I want to copy.
Is there any way of converting them so they form a DATA file. That way, the user is unable to see the files I want to copy.
Hope you understand what I mean.