Page 1 of 1

MakeDirectory

Posted: Mon Dec 19, 2011 8:37 pm
by djrikki
MakeDirectory($drawername, [icon])

MakeDirectory with the given name and optionally create an icon for it (AmigaOS only plus other relevant platforms).

Re: MakeDirectory

Posted: Mon Dec 19, 2011 11:26 pm
by Juan Carlos
It works? with this easy instruction, incredible.

Re: MakeDirectory

Posted: Wed Dec 21, 2011 4:34 pm
by djrikki
Nope, MakeDirectory has only one argument... I was suggesting Andreas add a 2nd argument. This is the Wishlist section of the forum yes? :roll:

Re: MakeDirectory

Posted: Thu Dec 22, 2011 4:37 pm
by Juan Carlos
yes, it is a good idea to add to Hollywood.

Re: MakeDirectory

Posted: Fri Dec 23, 2011 11:26 am
by airsoftsoftwair
That's too simplistic. You can just do that using:

Code: Select all

Function p_MakeDirectory(d$, icon)
  MakeDirectory(d$)
  If icon = True Then CopyFile("ENV:Sys/def_drawer.info", ....)
EndFunction
No need to extend Hollywood for this.