473,320 Members | 1,965 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,320 software developers and data experts.

Create folder

Hi

I use Djgpp, for create a folder internal
to another folder, as it gets?

char string1= {"folder1"};

_mkdir(string1);

Thanks

Oct 4 '08 #1
5 2553
Larsen wrote, On 04/10/08 23:55:
Hi

I use Djgpp, for create a folder internal
to another folder, as it gets?

char string1= {"folder1"};
You don't need the braces and in re-typing you have introduced an error.
Please copy and paste code in rather than re-typing or how are people
meant to guess which are errors in your real code and which are typos in
your post?

char *string1 = "folder1";

Also you would be well advised to avoid names starting with str since if
string.h is included a lot are reserved for use by the implementation
and/or new standards and some implementations *do* declare a few extra
identifiers.
_mkdir(string1);
_mkdir is an implementation specific extension on DOS/Windows groups, so
you need to ask in a DOS/Windows/DJPP group. There are plenty to choose
from. Alternatively look up the function on http://msdn.microsoft.com
and see what that says.
--
Flash Gordon
If spamming me sent it to sm**@spam.causeway.com
If emailing me use my reply-to address
See the comp.lang.c Wiki hosted by me at http://clc-wiki.net/
Oct 4 '08 #2
Larsen wrote:
>
I use Djgpp, for create a folder internal
to another folder, as it gets?

char string1= {"folder1"};

_mkdir(string1);
DJGPP is off-topic on c.l.c. Try comp.os.msdos.djgpp.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.
Oct 5 '08 #3
In article <48***************@yahoo.com>,
senile old foolCBFalconer <cb********@maineline.netdid his usual
thing thusly:
>Larsen wrote:
>>
I use Djgpp, for create a folder internal
to another folder, as it gets?

char string1= {"folder1"};

_mkdir(string1);

DJGPP is off-topic on c.l.c. Try comp.os.msdos.djgpp.
Way to go, Chuck!

Oct 5 '08 #4
On Sun, 5 Oct 2008 02:15:01 +0000 (UTC), Kenny McCormack wrote:
In article <48***************@yahoo.com>,
senile old foolCBFalconer <cb********@maineline.netdid his usual
thing thusly:
>>Larsen wrote:
>>>
I use Djgpp, for create a folder internal
to another folder, as it gets?

char string1= {"folder1"};

_mkdir(string1);

DJGPP is off-topic on c.l.c. Try comp.os.msdos.djgpp.

Way to go, Chuck!
Actually, it wasn't bad advice. A lot of times the newsgroup redirect is
to a place where there's nothing happening, but Larsen posted there and got
a quality response already.

I hadn't the feintest idea what djgpp was, but I think I'll start lurking
there to find out.
--
Richard Milhous Nixon

But who prays for Satan? Who, in eighteen centuries, has had the common
humanity to pray for the one sinner that needed it most?
~~ Mark Twain
Oct 5 '08 #5
I resolved

thanks

Oct 5 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: David Webb | last post by:
The problem started when the Working Folder for a project was somehow set to the folder of another project. I set the correct working folder in VSS and deleted the .vbproj files that had been...
4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
6
by: jzdeng | last post by:
Hi, All I use VS 2005 to create a web service. The web service is used to create a sheared folder. It works fine we I run it from VS 2005. But, when I move it to inetpub, it does not work...
8
by: Paw | last post by:
Greetings. I use asp. what I need is is when a visitor comes to the site, I need it to check the host name. if "www.hometowndigest.com" is the host, then check a folder named "something" and if...
8
by: barb | last post by:
So that the world at large benefits from our efforts, here is one fully documented way to use Windows Irfanview freeware to create thumbnail web galleries (http://www.irfanview.com). STEP 1:...
0
by: 1333 | last post by:
I need to create a new folder every time the upload folder has 10 files uploaded to it. So when folder1 has 10 files, folder2 is created and becomes the upload folder, and when it has 10 files...
7
by: Wiebe Tijsma | last post by:
Hi, I'm using C# + webDAV to create a draft message to be sent in a user's Drafts folder. I can create the message successfully, however when I open the message in outlook, it doesn't show...
10
by: kai | last post by:
Hi, All I am trying to create a file folder for any login user, and create sub folders for the user on a web page. After the user login again, he can only sees his own folder on the Web page. I am...
4
by: Alan Mailer | last post by:
Again, I'm new to VB.net and there is something I need help with: Like (I assume) many of us, over time I want to be able to create some VB.net classes that I might want to use in more than one...
5
by: krasman | last post by:
hi everyone, i hope you might help me on this one. i need to create a contact in a exchange public folder using dotnet (vb or c#) and exchange 2003, without using outlook object model. i'm...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.