-
File locations
Can anybody tell me how to make it so that a file location, such as a text file, could be variable, but hard-coded. What I mean is like when something is installed, it doesn't get installed to the same spot on all computers. I was thinking something like just the folders after it, sort of like in HTML.
Example:
Not this
blah.blah = "C:\blah\blah\blah.txt"
But something like this
blah.blah = "\blah\blah\blah.txt"
In the second case, the EXE would be run from C:\
Thanks for any help,
Bryan Kalicki
-
You could use App.Path to have the file located in the same directory that your .EXE is located. Or, check out the Package & Deployment Wizard. It offers other variable names that correspond to the Windows directory and others.