View Full Version : Need a 'relative path' ??

07-22-2003, 12:51 PM
Sorry if this is dumb but just starting, and this software does everything I need it to do so far just cant figure out one thing.

I am downloading a zip file in my package and putting it in %SrcDir%\%Thisversion%\update.zip - that works fine.

I want to then copy the files from the directory ABOVE srcdir into a backup directory , and then unzip the download into that directory.

For example:

I have a directory called: C:\myapp
I have a sub dir called: c:\myapp\updates

update.exe, the trueupdate exe file is in c:\myapp\updates, and this becomes %srcdir%

I create an update.zip for my new version 2.0

It will download to c:\myapp\updates\2.0\update.zip

I now want to take the files from c:\myapp and copy them to c:\myapp\updates\2.0\backups

AND I want to unzip the zip file into c:\myapp

Something like %srcdir%\..\ - but i tried that and it does not work ?

ANy help is most appreciated.