Wait, I used DEL.
I typed
"DEL C:\FTPROOT"
And it said..
Could not find "C:\mikeprogs\prog4\FTPROOT"
Why is it putting mikeprogs\prog4 in front of it? How can I prevent this?
Wait, I used DEL.
I typed
"DEL C:\FTPROOT"
And it said..
Could not find "C:\mikeprogs\prog4\FTPROOT"
Why is it putting mikeprogs\prog4 in front of it? How can I prevent this?
Signed,
Next Gen
You didn't try to enter that in your system() program did you?
Forget system() as I said before, it is a crude bodge, (there are a list of reasons why you should not use it in the FAQ). You use RemoveDirectory instead of system()! You have VC, open the help and look up the routine there.
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Yeah but, why is it putting that? All I need is to erase that and I basically accomplished what I set out to do.
Signed,
Next Gen
DEL *.*
This will delete all files in the current directory, be careful what you delete.
So type "DEL *C:\FTPROOT*
Signed,
Next Gen
and if you are putting delete commands inside system remember you need 2 backslashes....
doDOS("DEL C:\\and so on...