| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Nov 19, 2009 10:50 am Post subject: Select file and store variable with folder location |
|
|
| Is it possible to use fileselectfile, so that the user selects a file, but the variable that is stored is not the name of that file, but the folder where that file was located. |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 7698 Location: Germany (but I only speak English)
|
Posted: Thu Nov 19, 2009 10:55 am Post subject: |
|
|
a good way is to immediately use splitpath to get the folder name from the file name. _________________
Unless noted, all code is UNTESTED.
Answers Here: 1.(Loops, Viruses, etc.) 2.Search 3.RTFM 4.Ask for Help.
PMs will be ignored unless you are hiring me. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Nov 19, 2009 11:40 am Post subject: |
|
|
| Great, it works. Thanx |
|
| Back to top |
|
 |
|