Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > mkdir

Reply
Thread Tools

mkdir

 
 
Freak
Guest
Posts: n/a
 
      12-13-2004
Hi all
can somene post sample of creating directory, ie:
I have
www.domain.com
Now I need this:
www.domain.com/directory1

Thank you


 
Reply With Quote
 
 
 
 
Tony Curtis
Guest
Posts: n/a
 
      12-13-2004
>> On Mon, 13 Dec 2004 21:46:28 +0100,
>> "Freak" <clariouser_REMOVE_@yahoo.com> said:


> Hi all can somene post sample of creating directory, ie: I
> have www.domain.com Now I need this:
> www.domain.com/directory1


$ mkdir www.domain.com/directory1

not difficult.

or are you actually asking something else?
 
Reply With Quote
 
 
 
 
Freak
Guest
Posts: n/a
 
      12-13-2004

> $ mkdir www.domain.com/directory1
>
> not difficult.
>
> or are you actually asking something else?


Hi Tony,
yes I am asking something else, but I have founded
complete cgi script to manage this: creating of directory
and creating of html page. (http://www.elitehosts.com/scripts/main.htm)
Now I must only automate this
process.
Thank you


 
Reply With Quote
 
Jürgen Exner
Guest
Posts: n/a
 
      12-14-2004
Freak wrote:
> can somene post sample of creating directory, ie:
> I have
> www.domain.com
> Now I need this:
> www.domain.com/directory1


Which part of "perldoc -f mkdir" is unclear to you?
Please let us know such that we can try an improve it.

jue


 
Reply With Quote
 
Bugblatter
Guest
Posts: n/a
 
      12-14-2004
Freak wrote:
> Hi all
> can somene post sample of creating directory, ie:
> I have
> www.domain.com
> Now I need this:
> www.domain.com/directory1
>
> Thank you
>
>

chdir $documentroot or die "Where the heck is my website stored?";
mkdir directory1 or die "unable to make directory: $!";
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[trunk/r14273] File.mkdir() -> Dir.mkdir() in enc/make_encma Ollivier Robert Ruby 0 12-17-2007 03:48 PM
mkdir not available. AM Cisco 1 05-10-2006 11:36 PM
Noobie Question: Using strings and paths in mkdir (os.mkdir("/test/"a)) Shaun Python 2 04-22-2005 08:55 AM
os.mkdir() not creating . and .. Thomas Guettler Python 1 09-30-2003 12:46 PM
mkdir Roedy Green Java 1 09-14-2003 06:57 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57