[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Create folder



PureBytes Links

Trading Reference Links

Thanks.  I missed that one.
----- Original Message -----
From: dingo
Sent: Tuesday, November 15, 2005 4:02 PM
Subject: RE: [amibroker] Create folder

FMKDIR
- creates (makes) a directory

File Input/Output functions
(AFL 2.70)


SYNTAX fmkdir( ''dirname'' )
RETURNS NUMBER
FUNCTION Creates (makes) a directory.

"dirname" specifies path of the directory to be created. Please note that this function creates only ONE directory at a time. So if you want to create nested directory tree you have to call it multiple times, for example to create C:MyDirectoryMySubDirectory folder you have to call it twice:

fmkdir( "C:\\MyDirectory" );
fmkdir( "C:\\MyDirectory\\MySubDirectory" );

Note also that it is safe to call it even if directory already exists (then no change to file system is applied)

Returns TRUE if directory successfully created, FALSE otherwise

EXAMPLE
SEE ALSO

References:

The fmkdir function is used in the following formulas in AFL on-line library:

    More information:



    From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of wavemechanic
    Sent: Tuesday, November 15, 2005 3:34 PM
    To: AmiBroker, User
    Subject: [amibroker] Create folder

    fopen() can be used to create a file.  Is there a similar way to create a folder with AFL so that the folder name (and path) can be created dynamically?
     
    Thanks.
     
    Bill


    No virus found in this incoming message.
    Checked by AVG Free Edition.
    Version: 7.1.362 / Virus Database: 267.13.2/170 - Release Date: 11/15/05


    Please note that this group is for discussion between users only.

    To get support from AmiBroker please send an e-mail directly to
    SUPPORT {at} amibroker.com

    For other support material please check also:
    http://www.amibroker.com/support.html





    YAHOO! GROUPS LINKS