SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 3 of 3

Thread: Create a folder

  1. #1
    Senior Member
    Join Date
    Feb 2007
    Posts
    104
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Create a folder

    Hi all,

    <font class="small">Code:</font><hr /><pre> [-] VOID CreateFolder(STRING sFolder)
    [ ]
    [-] if !SYS_FileExists(sFolder)
    [ ] SYS_Execute("md " + sFolder) </pre><hr />
    In the above code if i dont use "md" in Sys_Execute than i am not able to create a folder.

    The function was created by my colleague who has left...
    Can anyone tell wht is the significance of "md"....

    Thanxs

  2. #2
    Advanced Member
    Join Date
    May 2005
    Location
    Fremont, CA
    Posts
    832
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Create a folder

    md is a ms dos command for folder creation. I believe it stands for MakeDirectory.
    You can also use mkdir instead of md. It will do the same thing.

    Hope this helps.

    dimaj

  3. #3
    Junior Member
    Join Date
    Dec 2006
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Create a folder

    Here is the code for creating the directory its very simple... please go through Silk Help before posting into the Forum....for such simple questions
    if !(SYS_DirEsists ("DirectoryPath"))
    SYS_MakeDir ("DirectoryPath")
    ~AK

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.71%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 06:04 AM.

Copyright BetaSoft Inc.