LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating Empty Folders in Build Specification

I'm trying to create a build specification that creates sub folders with data required by the application.  This works out ok, but I also want to create empty folders the the app will use for data output.  I can't get the build to createa folder unless there is a file in it.  Is there a way to do this?
 
TIA,
Bill F
0 Kudos
Message 1 of 4
(3,025 Views)
Bill,
 
Are you trying to create these folders when building the executable?  Have you tried creating an installer?
 
Thanks,
Stephen Meserve
National Instruments
0 Kudos
Message 2 of 4
(3,016 Views)
Yes, I'm using an installer.  But the installer will only install what the build spec creates.  Right?  The empty folders dont show up after you run the build, so they are not installed either.
 
Bill F
0 Kudos
Message 3 of 4
(3,006 Views)
Bill,
 
I have tried the installation and it will not create a folder unless there is something in it.  Here we have two options.
 
  1. You can create a dummy file and place it in the "empty" directory.  This will make it non-empty and force its creation
  2. You can create the directory in LabVIEW.  This can be accomplished by following this KnowledgeBase article:

    Programmatically Searching For And Creating A New Directory Using LabVIEW

    http://digital.ni.com/public.nsf/allkb/26743C31FE0CF26786256F16005970A0?OpenDocument
Thanks,
Stephen Meserve
National Instruments
0 Kudos
Message 4 of 4
(2,997 Views)