So type "DEL *C:\FTPROOT*
Type: Posts; User: NeXtGeN
So type "DEL *C:\FTPROOT*
Yeah but, why is it putting that? All I need is to erase that and I basically accomplished what I set out to do.
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?
Not recognized as a command.
Ok, I got it to work.
But in terms of commands how exactly would you make a delete directory command?
I tryed
"DEL C:\...."
but it didn't work.
What should I type?
It compiles fine. I get the 2 errors when building it and attempting to execute it.
The compiler I am using is Microsoft Visual C++.
I wish I could have that. Your lucky. I'm dumb.
Ok.
#include <iostream.h>
#include <stdlib.h>
void doDOS(char *command)
{
system(command);
}
I typed in EXACTLY what you told me to and got this (whew this is quite the trial and error, sorry I'm so dumb)
--------------------Configuration: mike1 - Win32 Debug--------------------...
Thanks again. =)
Yeah I have done that plenty of times I am acutally doing it now lol woooo I love tpying its so fun now I am thinking aobut it and tpying much slower than my potential is, actually no wrong word but...
Out of pure couriosity, I was wondering what everyones IQ score is.
I'm 14 and mine is 100.
Average is all I am. Damn the man.
I listen to a large variety of music.
My favorites include:
Exploited
Ramones
Casualties
Johnny Cash
Sex Pistols
The Clash
The last game I played was EverQuest or Quake 3 Arena, can't remember.
I am trying to get it to work right now. I get the following.
--------------------Configuration: mike1 - Win32 Debug--------------------
Compiling...
mike2.cpp
C:\mikeprogs\mike1\mike2.cpp(3) :...
I am new to C++ and would like to know how to write a program that will modify directories and/or files, like DOS does. If you could, it would be of great help to actually instant message me and help...