PDA

View Full Version : Help with Variable



dk237
09-24-2002, 04:12 PM
I need to extract a zip to a game dir
the registry install path is *\ra2.exe
how can I get rid of the ra2.exe
and just keep the path

basically a way to have it auto edit the variable
and remove the \ra2.exe
~or~
a way to search the HDD for a file
and only put the path into a variable

however the regkey would always have the correct path

Lorne
09-24-2002, 04:22 PM
Have a look at the "String - Parse Path" action. It can do this sort of stuff in its sleep. /ubbthreads/images/icons/smile.gif

dk237
09-24-2002, 04:44 PM
wow that was fast
that was the one i didnt try /ubbthreads/images/icons/wink.gif
should of asked a long time ago
thanx!

Lorne
09-24-2002, 04:57 PM
Heh, no problem. /ubbthreads/images/icons/smile.gif

BTW, there's a basic example of that action in the latest version of the Help file.