473,407 Members | 2,314 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,407 software developers and data experts.

How to create a new directory in C

I remember that I could create a new folder in the current directory easily
in Unix and Linux by something like
system("mkdir sub_directory");
But failed to do so under Windows System. Any suggestions?

Nov 14 '05 #1
32 4942
munanxue <xu*********@yahoo.com> spoke thus:
I remember that I could create a new folder in the current directory easily
in Unix and Linux by something like
system("mkdir sub_directory");
But failed to do so under Windows System. Any suggestions?


Sure, even though this question is not topical for this group:

http://www.ungerhu.com/jxh/clc.welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html

The DOS command to create a directory is md, not mkdir. Passing Unix
commands to a DOS shell is, for obvious reasons, unlikely to
produce the results you want.

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Nov 14 '05 #2
>I remember that I could create a new folder in the current directory easily
in Unix and Linux by something like
system("mkdir sub_directory");
But failed to do so under Windows System. Any suggestions?


What command would you type at a command prompt to create a directory
in Windows? system() uses a command interpreter that tends to be
the same as one of the ones used by interactive users.

Also realize that the concepts of "current directory" work a little
differently between Windows and Unix. So do file/directory permissions.

Gordon L. Burditt
Nov 14 '05 #3
1. mkdir can create a new directory in Windows, just as md.
2. system("md sub_directory"); failed as well, i tested before I posted
this thread.
any other suggestions?

Nov 14 '05 #4

"munanxue" <xu*********@yahoo.com> wrote in message
news:a5******************************@localhost.ta lkaboutprogramming.com...
2. system("md sub_directory"); failed as well, i tested before I posted

That's very odd .. it works as expected here on XP home.
does system() work with other shell commands?

code compiled with gcc:

#include <stdio.h>
int main(void)
{
system("md sub_directory");
system("mkdir sub_dir2");
return 0;
}
Nov 14 '05 #5
TJ
On Thu, 04 Nov 2004 19:34:30 -0500, munanxue wrote:
1. mkdir can create a new directory in Windows, just as md. 2.
system("md sub_directory"); failed as well, i tested before I posted
this thread.
any other suggestions?


You should read the bottom part of Gordon's post again:

On Fri, 05 Nov 2004 00:07:22 +0000, Gordon Burditt wrote:
Also realize that the concepts of "current directory" work a little
differently between Windows and Unix. So do file/directory
permissions.


Before calling the Windows(tm) md command in your code, did you change
the current working directory (in your code)? If not, did you search the
_entire_ drive (probably C:) for the directory you created. The CWD
(current working directory) environment variable is different on Windows
and unless you changed it, your new directory could be almost anywhere ...
but usually ends up in the "My Documents" folder.
Nov 14 '05 #6
"munanxue" <xu*********@yahoo.com> writes:
any other suggestions?


Try an MS-DOS programming newsgroup?
--
Ben Pfaff
email: bl*@cs.stanford.edu
web: http://benpfaff.org
Nov 14 '05 #7
TJ
On Thu, 04 Nov 2004 19:34:30 -0500, munanxue wrote:
1. mkdir can create a new directory in Windows, just as md.
2. system("md sub_directory"); failed as well, i tested before I posted
this thread.
any other suggestions?


Oops ... still too trigger happy on the "post message" command ...

Beyond my previous suggestion, please qualify what you mean by
"system("md sub_directory"); failed as well" ... how do you know it
failed? How did it fail? What is the return value of the system() call?
etc ...
Sincerely,
-TJ Walls
Ph.D Candidate - Physics Dept. Stony Brook University
Nov 14 '05 #8

"Christopher Benson-Manica" <at***@nospam.cyberspace.org> wrote in message
news:cm**********@chessie.cirr.com...
munanxue <xu*********@yahoo.com> spoke thus:
I remember that I could create a new folder in the current directory easily in Unix and Linux by something like
system("mkdir sub_directory");
But failed to do so under Windows System. Any suggestions?
Sure, even though this question is not topical for this group:

http://www.ungerhu.com/jxh/clc.welcome.txt
http://www.eskimo.com/~scs/C-faq/top.html
http://benpfaff.org/writings/clc/off-topic.html

The DOS command to create a directory is md, not mkdir.


Either one will work in DOS.

An example of why posting off topic answers is not advised. :-)

Passing Unix
commands to a DOS shell is, for obvious reasons, unlikely to
produce the results you want.


Agreed.

-Mike
Nov 14 '05 #9
Mike Wahler <mk******@mkwahler.net> spoke thus:
Either one will work in DOS.
Whoops... (Well, at least I linked to the FAQ and welcome message!)
An example of why posting off topic answers is not advised. :-)


Agreed :-)

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Nov 14 '05 #10
First, thanks for all of your help.

For the unclarity of "it failed as well", I mean it didn't create a new
directory, as it should.

gcc will compile both system("md sub1") and system("mkdir sub2") as long
as the parameter passed in system() is a string. But both commands failed
to create a new directory.

For those who suggested the current directory problem, I tested system("md
c:\sub_directory") and it didn't work.

For those who think this thread is off topic, I am sorry if I bothered
anybody by posting this question, and this was unintentional. I didn't
consider this is a MS-DOS programming question, since what I am looking
for is just a nice function call that does the job for me.

Best Regards

Nov 14 '05 #11
>For the unclarity of "it failed as well", I mean it didn't create a new
directory, as it should.
Are you sure it didn't create a new directory *ANYWHERE*?
Did you check the entire system for one?
gcc will compile both system("md sub1") and system("mkdir sub2") as long
as the parameter passed in system() is a string. But both commands failed
to create a new directory.

For those who suggested the current directory problem, I tested system("md
c:\sub_directory") and it didn't work.


What is a \s character? I believe using such a character results in the
wrath of undefined behavior. Also, you're probably better off using
an absolute path. Hint: system("md c:\\sub_directory");

Gordon L. Burditt
Nov 14 '05 #12
On Thu, 04 Nov 2004 19:34:30 -0500, in comp.lang.c , "munanxue"
<xu*********@yahoo.com> wrote:
1. mkdir can create a new directory in Windows, just as md.
2. system("md sub_directory"); failed as well, i tested before I posted
this thread.
any other suggestions?


Yes, ask in a windows programming group. How the command that you execute
via system works is offtopic here.

<OT>
top guess, you don't have permission to create a file where system() is
spawning its shell. Try system("dir > c:\foo.txt") and see where you
actually /are/ at the time. I bet its not where you expect.
</OT>
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Nov 14 '05 #13
Mark McIntyre <ma**********@spamcop.net> wrote:
spawning its shell. Try system("dir > c:\foo.txt") and see where you


Should be system("dir > c:\\foo.txt"), shouldn't it?
Flo
--
Florian Weingarten | IRCnet: fw (fw_) | PGP: 0x65C91285
http://hackvalue.de/~flo/ | ICQ: 38564900 | Jabber: fw@jabber.ccc.de
Nov 14 '05 #14
On Fri, 5 Nov 2004 23:45:22 +0100, in comp.lang.c , Florian Weingarten
<fw@go.cc> wrote:
Mark McIntyre <ma**********@spamcop.net> wrote:
spawning its shell. Try system("dir > c:\foo.txt") and see where you


Should be system("dir > c:\\foo.txt"), shouldn't it?


The behaviour of the string passed to system is implementation defined, and
offtopic here....
gd&r

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Nov 14 '05 #15
Mark McIntyre wrote:

On Fri, 5 Nov 2004 23:45:22 +0100, in comp.lang.c , Florian Weingarten
<fw@go.cc> wrote:
Mark McIntyre <ma**********@spamcop.net> wrote:
spawning its shell. Try system("dir > c:\foo.txt")
and see where you


Should be system("dir > c:\\foo.txt"), shouldn't it?


The behaviour of the string passed to system is implementation
defined, and offtopic here....
gd&r


Are you aware that your original string contains a formfeed character?

--
pete
Nov 14 '05 #16
On Sat, 06 Nov 2004 08:38:20 GMT, in comp.lang.c , pete
<pf*****@mindspring.com> wrote:
Mark McIntyre wrote:

On Fri, 5 Nov 2004 23:45:22 +0100, in comp.lang.c , Florian Weingarten
<fw@go.cc> wrote:
>Mark McIntyre <ma**********@spamcop.net> wrote:
>> spawning its shell. Try system("dir > c:\foo.txt")
>> and see where you
>
>Should be system("dir > c:\\foo.txt"), shouldn't it?


The behaviour of the string passed to system is implementation
defined, and offtopic here....
gd&r


Are you aware that your original string contains a formfeed character?


See previous answer.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Nov 14 '05 #17
Mark McIntyre <ma**********@spamcop.net> wrote:
spawning its shell. Try system("dir > c:\foo.txt") and see where you


Should be system("dir > c:\\foo.txt"), shouldn't it?


The behaviour of the string passed to system is implementation defined, and
offtopic here....


Are you sure about that? The C standard says:

Alphabetic escape sequences representing nongraphic characters in the execution
character set are intended to produce actions on display devices as follows:

\f (form feed) Moves the active position to the initial position at the start of the next
logical page.

(ISO/IEC 9899:1999 (E), 5.2.2 Character display semantics)
Flo
--
Florian Weingarten | IRCnet: fw (fw_) | PGP: 0x65C91285
http://hackvalue.de/~flo/ | ICQ: 38564900 | Jabber: fw@jabber.ccc.de
Nov 14 '05 #18
Wow, does anything ever get done around here?

Expand|Select|Wrap|Line Numbers
  1. #include <stdio.h>
  2. #include <stdlib.h>// for system
  3. int main(void)
  4. {
  5. system("md HEREIAM");
  6. system("mkdir PICKABOO");
  7. return 0;
  8. }
  9.  
compile the following on windows save it in the C: directory then go
back and look for the file names passed as arguments.
or if you want you can pass the path to system after md:
ex: md path\kdkdk\kdkdk\kkdkd
Nov 14 '05 #19
Florian Weingarten <fw@go.cc> writes:
Mark McIntyre <ma**********@spamcop.net> wrote:
spawning its shell. Try system("dir > c:\foo.txt") and see where you

Should be system("dir > c:\\foo.txt"), shouldn't it?


The behaviour of the string passed to system is implementation defined, and
offtopic here....


Are you sure about that? The C standard says:

Alphabetic escape sequences representing nongraphic characters in
the execution character set are intended to produce actions on
display devices as follows:

\f (form feed) Moves the active position to the initial position at
the start of the next logical page.

(ISO/IEC 9899:1999 (E), 5.2.2 Character display semantics)


There's no indication that a character in a string passed to system()
is going to be sent to a display device. In this particular case, it
almost certainly won't be. I don't know what would happen on a
Windows system, but the equivalent command on a Unix-like system would
likely create a file whose name contains a formfeed character.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 14 '05 #20
On Sat, 6 Nov 2004 21:35:56 +0100, in comp.lang.c , Florian Weingarten
<fw@go.cc> wrote:
Mark McIntyre <ma**********@spamcop.net> wrote:
spawning its shell. Try system("dir > c:\foo.txt") and see where you

Should be system("dir > c:\\foo.txt"), shouldn't it?
The behaviour of the string passed to system is implementation defined, and
offtopic here....


Are you sure about that?


Yes:
7.20.4.6 The system function
If string is not a null pointer, the system function passes the string
pointed to by string to that command processor to be executed in a manner
which the implementation shall document;
The C standard says:


(something irrelevant about escape sequences).

The important word is "intended". There's nothing there to mandate it to do
anything for which the C standard generally uses "shall".
--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Nov 14 '05 #21
In article <sl***************@hackvalue.de> Florian Weingarten <fw@go.cc> writes:
Mark McIntyre <ma**********@spamcop.net> wrote:
spawning its shell. Try system("dir > c:\foo.txt") and see where you

Should be system("dir > c:\\foo.txt"), shouldn't it?


The behaviour of the string passed to system is implementation defined, and
offtopic here....


Are you sure about that? The C standard says:


Oh, Mark is pretty sure. The string passed to the system contains a
formfeed, what happens with that string is implementation defined.
On this system: system("ls > c:\\foo.txt"), will create a file where
the name contains a formfeed.
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/
Nov 14 '05 #22
Mark McIntyre wrote:

On Sat, 06 Nov 2004 08:38:20 GMT, in comp.lang.c , pete
<pf*****@mindspring.com> wrote:
Mark McIntyre wrote:

On Fri, 5 Nov 2004 23:45:22 +0100, in comp.lang.c ,
Florian Weingarten
<fw@go.cc> wrote:

>Mark McIntyre <ma**********@spamcop.net> wrote:
>> spawning its shell. Try system("dir > c:\foo.txt")
>> and see where you
>
>Should be system("dir > c:\\foo.txt"), shouldn't it?

The behaviour of the string passed to system is implementation
defined, and offtopic here....
gd&r


Are you aware that your original
string contains a formfeed character?


See previous answer.


I was thinking of your previous answer.

Whether or not that string contains a formfeed is highly on topic,
and maybe not obvious to some people, like yourself.

--
pete
Nov 14 '05 #23
Dik T. Winter <Di********@cwi.nl> scribbled the following:
In article <sl***************@hackvalue.de> Florian Weingarten <fw@go.cc> writes:
> Mark McIntyre <ma**********@spamcop.net> wrote:
> >>> spawning its shell. Try system("dir > c:\foo.txt") and see where you
> >>
> >>Should be system("dir > c:\\foo.txt"), shouldn't it?
> >
> > The behaviour of the string passed to system is implementation defined, and
> > offtopic here.... >
> Are you sure about that? The C standard says:

Oh, Mark is pretty sure. The string passed to the system contains a
formfeed, what happens with that string is implementation defined.
On this system: system("ls > c:\\foo.txt"), will create a file where
the name contains a formfeed.


Dik, are you having a typo day? I recently spotted one typo from you on
sci.math, and now you have another. There's no formfeed character in
"ls > c:\\foo.txt". Did you mean "ls > c:\foo.txt"?

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-------------------------------------------------------- rules! --------/
"It's time, it's time, it's time to dump the slime!"
- Dr. Dante
Nov 14 '05 #24
On Sun, 07 Nov 2004 03:47:30 GMT, in comp.lang.c , pete
<pf*****@mindspring.com> wrote:
Mark McIntyre wrote:


See previous answer.


I was thinking of your previous answer.

Whether or not that string contains a formfeed is highly on topic,
and maybe not obvious to some people, like yourself.


The presence of single-character escape sequences in strings is something
that's been obvious to me since around 1986, when I first programmed C (on
a Vax 8700 I think it was, tho th Atari ST1024 came around the same time).
Thats not the point.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
Nov 14 '05 #25
In article <cm**********@oravannahka.helsinki.fi> Joona I Palaste <pa*****@cc.helsinki.fi> writes:
Dik T. Winter <Di********@cwi.nl> scribbled the following:

....
Oh, Mark is pretty sure. The string passed to the system contains a
formfeed, what happens with that string is implementation defined.
On this system: system("ls > c:\\foo.txt"), will create a file where
the name contains a formfeed.


Dik, are you having a typo day? I recently spotted one typo from you on
sci.math, and now you have another. There's no formfeed character in
"ls > c:\\foo.txt". Did you mean "ls > c:\foo.txt"?


Yup. 7 November is typo day.
--
dik t. winter, cwi, kruislaan 413, 1098 sj amsterdam, nederland, +31205924131
home: bovenover 215, 1025 jn amsterdam, nederland; http://www.cwi.nl/~dik/
Nov 14 '05 #26
ca********@yahoo.com (caroundw5h) wrote in message news:<aa**************************@posting.google. com>...
Wow, does anything ever get done around here?

Expand|Select|Wrap|Line Numbers
  1.  #include <stdio.h>
  2.  #include <stdlib.h>// for system
  3.  int main(void)
  4.  {
  5.       system("md HEREIAM");
  6.       system("mkdir PICKABOO");
  7.       return 0;
  8.  }
  9.  

compile the following on windows save it in the C: directory then go
back and look for the file names passed as arguments.
or if you want you can pass the path to system after md:
ex: md path\kdkdk\kdkdk\kkdkd

or just #include <windows.h>
and use CreateDirectory("path to dir");
Nov 14 '05 #27
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

caroundw5h wrote:
ca********@yahoo.com (caroundw5h) wrote in message news:<aa**************************@posting.google. com>...
Wow, does anything ever get done around here?

Expand|Select|Wrap|Line Numbers
  1. #include <stdio.h>
  2. #include <stdlib.h>// for system
  3. int main(void)
  4. {
  5.      system("md HEREIAM");
  6.      system("mkdir PICKABOO");
  7.      return 0;
  8. }

compile the following on windows save it in the C: directory then go
back and look for the file names passed as arguments.
or if you want you can pass the path to system after md:
ex: md path\kdkdk\kdkdk\kkdkd


or just #include <windows.h>
and use CreateDirectory("path to dir");


Hmmm... I don't think that works.

~/code $ cat mdir.c
#include <windows.h>

int main(void)
{
CreateDirectory("/home/lpitcher/newdirectory");

return 0;
}
~/code $ cc -o mdir mdir.c
mdir.c:1:21: windows.h: No such file or directory
~/code $ uname -a
Linux bitsie 2.4.26 #7 Mon Apr 19 23:43:43 EDT 2004 i686 unknown

Apparently, the "windows.h" include file isn't part of the gcc compiler kit.
Obviously, it's not part of standard C, otherwise it would have been included
in gcc.

- --
Lew Pitcher

Master Codewright & JOAT-in-training | GPG public key available on request
Registered Linux User #112576 (http://counter.li.org/)
Slackware - Because I know what I'm doing.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBjtB6agVFX4UWr64RApjjAKDpwOa4/t4WphldLtYF4/5+FioflgCgrKjV
uX8jutsqubx6rPVhFCtXNFI=
=OxL4
-----END PGP SIGNATURE-----
Nov 14 '05 #28
Lew Pitcher <lp******@sympatico.ca> writes:
Apparently, the "windows.h" include file isn't part of the gcc compiler kit.
Obviously, it's not part of standard C, otherwise it would have been included
in gcc.


GCC does not include a C library.
--
"A lesson for us all: Even in trivia there are traps."
--Eric Sosman
Nov 14 '05 #29
I found using cygwin and this code,
it can create the directory PICKABOO.

If using MKS, both can created.

Nov 14 '05 #30
ca********@yahoo.com (caroundw5h) wrote:
Wow, does anything ever get done around here?
Certainly.
#include <stdio.h>
You never use this header. Eradicate it.
#include <stdlib.h>// for system
No, really? I wonder what kind of comment you write when you use a dozen
functions from a header.
int main(void)
{
system("md HEREIAM");
system("mkdir PICKABOO");


If you go back in the thread, you'll see that that is _exactly_ what the
OP was doing. His problem was that it appeared not to work.

Richard
Nov 14 '05 #31
Richard Bos wrote:

ca********@yahoo.com (caroundw5h) wrote:

#include <stdlib.h>// for system


No, really? I wonder what kind of comment
you write when you use a dozen functions from a header.


I used to comment things like that,
until after about two weeks of learning C.

--
pete
Nov 14 '05 #32

pete wrote:
Richard Bos wrote:
ca********@yahoo.com (caroundw5h) wrote:
#include <stdlib.h>// for system


No, really? I wonder what kind of comment
you write when you use a dozen functions from a header.


I used to comment things like that,
until after about two weeks of learning C.


And I still do, sometimes, when I have dozens of headers and want to
know which is needed for what. The data structures are all in one but
some of the access macros added later on found their way into another
header (by way of the corresponding translation unit).
When doing solutions for C newbies, I also write these comments so
they learn that they "need headerxyz for function abc" and the like.

For my own, private stuff, I do not use this comment style.
Nonetheless, I at least group my headers.
Cheers
Michael
--
E-Mail: Mine is a gmx dot de address.

Nov 14 '05 #33

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

Similar topics

5
by: Ken Fine | last post by:
I want my application to maintain a directory tree based on months and years, e.g.: 2004 January file file file February file
2
by: Christian Pické | last post by:
Hi, I tried following code, but I get an execption "URI formats not supported" Directory.CreateDirectory(@http://www.test.com/shop/images); The path is not located on my own computers, but...
2
by: Paul Bromley | last post by:
How can I create a directory within a shared ntwork directory?? sServerName - is the Server name "\Docs" - is the shared directory "\Others" - is the directory to create. The following...
4
by: tomek | last post by:
hi i'm desperate... i'm trying this for 2 days now... so if anyone can help - please. i have upload form in which users can choose TYPE of file they are uploading (graphic/text/music) - and...
5
by: AmitGujrathi | last post by:
Hi all,,, can anybody pls tell me how to create directory on web server using C#.Net windows application thanks in Advance Amit
4
by: Robert | last post by:
Greetings New to Visual Studio 2008. Always us VB6.0 SP5. I am trying to copy files from A to B. I select a directory, and copy files. Works ok, but it does not create the directory first. ...
4
by: kathy30 | last post by:
I'm storing files in SQL and retrieving them when needed to the user's C: Drive This is accessed on our Intranet site, the problem is the create directory and saving files happens on the Server...
6
by: coolestavi007 | last post by:
Hi, I have to create directories on the FTP server. I have tried directory.exists but it doesnt work.Any other way to create directory on the server.Please help me.
1
by: printline | last post by:
Hello all I have a php script that uploads a file from a form into a directory. The directory is automatically created through the script. But the upload file is not put in to the directory,...
4
Frinavale
by: Frinavale | last post by:
I am not the greatest system administrator and I am having some problems with my current setup which has crippled my ability to continue my current Joomla project that I'm working on. I cannot...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.