LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

App Builder place text file in same directory as EXE

Is there a way to have the App Builder place a text file in the same directory as the executable?

The App Builder always will put the file into the data subdirectory. I can't find a setting to change that.

0 Kudos
Message 1 of 6
(3,151 Views)

Manually delete "data":

 

Untitled.png

 

 

George Zou
Message 2 of 6
(3,142 Views)

But I also want to have some files go into data.

 

I will try that.

Thank you.

 

0 Kudos
Message 3 of 6
(3,134 Views)

Then create a new destination, and delete "New":

Untitled.png

 

 

 

George Zou
0 Kudos
Message 4 of 6
(3,128 Views)

Are we talking about when building an executable or an installer?  Either way, it should only matter for the installer.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 6
(3,109 Views)

From memory:

 

  1. Add the file to the project.
  2. In the Source Files page, add the file to the build (you might not need this step)
  3. In the Source File Settings page, set the destination folder for that file to be that of the EXE.

___________________
Try to take over the world!
0 Kudos
Message 6 of 6
(3,077 Views)