Hello,
I was just wondering, how would I make a direcotry in C or C++ for dos? Like the mkdir command. Just wondering, cause I wanna make a program to help me sort some things.
If you can help, thanks,
-Kavity
Printable View
Hello,
I was just wondering, how would I make a direcotry in C or C++ for dos? Like the mkdir command. Just wondering, cause I wanna make a program to help me sort some things.
If you can help, thanks,
-Kavity
system("mkdir NAME");
NAME is directory.
i think the mkdir command is in c++.
It's in dir.h and the syntax is
mkdir("mydir");
also in dir.h you'll get other dir control functions like
rmdir - remove empty dir
chdir - change directory etc