Forum Moderators: coopster & phranque

Message Too Old, No Replies

creating a directory?

         

rcapilli

3:32 pm on Sep 15, 2005 (gmt 0)

10+ Year Member



Easy question for you:

I am in a file called [builddirectory.cgi]. which is located in my [cgi-bin] directory.

I want to create a directory in another area, for example:

../picures/christmas2005

I want to create another directory under [christmas2005] called [text]

[mkdir text] only creates a directory in the cgi-big called [text].

How do I tell it to create the directory in [../picures/christmas2005]?

Thanks for your help.

rcapilli

3:36 pm on Sep 15, 2005 (gmt 0)

10+ Year Member



hhhhhhhh. I figured it out

mkdir "..pictures/christmas2005/text";

Sorry for waisting your time here.

Moby_Dim

3:42 pm on Sep 15, 2005 (gmt 0)

10+ Year Member



The first thing you need to inquire is whether your hoster allows to write files outside /cgi-bin/