Computing.Net > Forums > Programming > opening a folder

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

opening a folder

Reply to Message Icon

Name: boyfunky
Date: September 18, 2006 at 09:53:07 Pacific
OS: winXP
CPU/Ram: 512MB
Product: Acer
Comment:

hi im wondering hw to open a folder. i knw hw to create a folder using system()but i dont knw hw to open it cos i want to put another folder in it.

example of my program is
cout<<"Enter Course Code: ";
cin.getline(code, 10);
cout<<"Enter lecture name: ";
cin.getline(code3, 10);
strcpy(code1, "md ");
strcat(code1, code);
system(code1);
system("dir ");
nw i want put the lecture name foldr inside the course code folder.
i tried using "cd" and then using strcat to join it to course code bt didnt work out.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: opening a folder

How to autorun .bat file when open a folder? www.computing.net/answers/programming/how-to-autorun-bat-file-when-open-a-folder/19007.html

Password protect a folder www.computing.net/answers/programming/password-protect-a-folder/15679.html

Search for a folder in any drive www.computing.net/answers/programming/search-for-a-folder-in-any-drive/16117.html