10-14-2020 09:12 AM
Hi all,
I have an EXE(and Source code) that updates a report everything is run, the EXE works great on my PC but when I move the EXE to the machines it was made for it works but doesn't update the report i think is a path issue.
I locate the template in the same location for all other machines but i think the issue is the name of the PCs,
Each PC has a different name,PC1, PC2 PC3..
So is there a way or nomenclature in Labview to telling the EXE to go to the Documents file\Report file\Report.
without including the name of the PC ?
Thank you
Solved! Go to Solution.
10-14-2020 09:51 AM
1. don't use absolute paths. Use a relative path with respect to the "application directory" / "strip path" / "build path"
2. Check if your target folder exists. If not, create it.
10-14-2020 02:33 PM
Use can always use Get System Directory function to get the Public Doc or My Doc folder.