Indigo Rose Software
  #1  
Old 07-22-2003
TeroC TeroC is offline
Forum Member
 
Join Date: Jul 2003
Posts: 1
Need a 'relative path' ??

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.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 03:30 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software