473,218 Members | 1,826 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,218 software developers and data experts.

Making a folder

57
How can i make a folder with a name which i write in cin >> filename; ?????
Jul 13 '06 #1
1 3146
How can i make a folder with a name which i write in cin >> filename; ?????

Hi,
You will have to use system( ); command to create a folder on a harddisk. This system( ); function will work on VC++ console application. The argument passed should be like this - system("MKDIR C:\\Folder_name");
where; MKDIR is a console appl command. The above command will create the folder in C drive.
The path & the folder name can be got from the user through cin command.
Jul 13 '06 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Daniel | last post by:
Hello, I'm using Brinkster Professional for web hosting. And they give me a common bin folder, that all projects should use, however Visual Studio compiles the assemblies to the application...
4
by: Pavel | last post by:
Hello. I am trying to make a folder compressed and failing miserably. Below are three ways that I tried to make it compressed, all of them compile and run w/o any problems, but the folder is...
0
by: Andy Sutorius | last post by:
Hi, I have been working on creating an administrative section of a website. I have been using MS KB Article 301240. I created a root/test2 folder and placed all of the files inside of test2. I...
3
by: Brian Henry | last post by:
How would you go about doing this I have a tree view which where anything is a parent it is a folder (folder icon, and the tag for the object is a string that says "FOLDER:{name of folder...
4
by: Ernesto | last post by:
I used Popen to launch a seperate telnet window, like this: subprocess.Popen("start telnet.exe -f C:\Folder\File.txt localhost 6000",shell=True) I is preferable to have this telnet window with...
1
by: keithb | last post by:
My ASP.NET 2.0 application has a User Control that contains a DataList that is unable to get style information from a style located in a css file in the themes folder. The user control CssClass and...
3
by: webandwe | last post by:
Hi, I got form that let you state a folder name, on sumbit thw script creates the folder with the name you stated, the problem is I want it to upload the php file "view.php" when the folder is...
3
by: Gurpreet Singh | last post by:
hi everyone, i want to create a folder on the harddisk using c program. the folder is infact a nested folder like sec1\subsec22\subsec9 to be created in c:\ drive. I tried the following...
0
by: Tim Golden | last post by:
dudeja.rajat@gmail.com wrote: The most obvious possiblity (there are others) is that you don't have permission to delete / rename the files. That's a question of NTFS permissions, not...
4
lee123
by: lee123 | last post by:
Hi there i was wondering how you make a folder in code to place a text document. another words, i want to create a folder for a text file i create so when iim done with writing the txt file it will...
0
by: veera ravala | last post by:
ServiceNow is a powerful cloud-based platform that offers a wide range of services to help organizations manage their workflows, operations, and IT services more efficiently. At its core, ServiceNow...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.