PDA

View Full Version : reading Folder name from %appdir%


Sooty
10-11-2004, 05:42 AM
i have created a application which stores the installed program path into the variable %appdir%

i have been trying to find a way of reading the folder name and Drive letter back individually so these can be stored in two seperate variables for later in the installation (%inst_drv% & %inst_name%)

i just can't seem to find a way to accomplish this


Any help will be apprieciated

p.s Well done on a top product and the super Customer Forums

JXBURNS
10-11-2004, 08:49 AM
I would suggest you study the help file for %AppDrv% (which will give you the drive letter) and ParsePath which will return you any part of the %AppDir% string as you desire.

John

Sooty
10-11-2004, 08:55 AM
Many thanks

i thought it would be simple but i guess i was not looking for the command/reference in the help file