Results 1 to 3 of 3

Thread: Making Folders On Install

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517
    Hi.

    When my program starts the first time
    after the installer installs it It needs
    like 10 directorys in its root dir to
    function properly. So my question is how
    do I make the installer make those directories.

    Thanks Alot!

  2. #2
    Hyperactive Member theman32x's Avatar
    Join Date
    May 2000
    Location
    New Jersey, USA
    Posts
    305
    i think there's something called mkdir

    like in a command button put mkdir "c:\test1"

  3. #3
    Guest
    If the directory already exists, you will get an error. Use the Dir function to check if it exists already.

    Code:
    If Dir("C:\MyDir", vbDirectory) <> "" Then
    Msgbox "Folder exists!"
    Else
    MkDir "C:\MyDir"
    End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width