Look into whatever zip utility you are using
and see if it supports creating the archive using relative paths.
For example; Using WinRAR you can right click on the AmiBroker folder itself and
choose "Add to archive...", then from the Files tab of the resulting
dialog make sure that the File Paths field is set to "Store relative
paths". When you click OK, an archive will be created whose elements are
all rooted at AmiBroker.
You can then unzip the AmiBroker folder directly into the C:\Program Files
(x86) folder on the other machine. Transferring back would be the same process,
just select the AmiBroker folder and zip it up, then unzip it into the
C:\Program Files folder of the original machine.
Mike
--- In amibroker@xxxxxxxxxxxxxxx,
Keith McCombs <kmccombs@xxx> wrote:
>
> New twist on the dual computer question.
>
> I'm now upgrading my desktop to XP-64 (from Win2000), but still want to
> use the 32bit version of AB. Therefore, on my XP-64 machine, I put
> AmiBroker in folder C:\Program Files (86)\. But this means that when I
> copy all of AmiBroker from C:\Program Files\ on one computer to
> C:\Program Files (86)\ on another or vise versa things get pretty much
> screwed up.
>
> I've heard that there is a program that will reassign folder names
> within programs, but I don't remember what it is. Does anybody know the
> name and, better yet, has anyone used it successfully?
>
> Also, I just looked at *HKEY_CURRENT_USER\Software\TJP* in the registry
> and noticed that some paths are stored there. So my thought is to
> change the path for AmiBroker on *both* my Win2000 and XP-64 machines so
> that long term I can just copy back and forth, without repeatedly
> dealing with the problem. (May also help, if/when I replace my Win2000
> laptop with a new Vista or Windows7 one.)
>
> Your thoughts and comments will be greatly appreciated.
> -- Keith
>
> Keith McCombs wrote:
> >
> >
> > I've been doing some experimenting. My Amibroker folder presently
> > contains 583,446,650 bytes. It takes more than 15 minutes to 'copy'
> > it to an external USB hard drive, and more than 20 minutes to a USB
> > thumb drive. However, only about 1.5 minutes to Zip it to the same
> > USB thumb drive. (I won't have any numbers for WiFi for awhile yet.)
> >
> > So, I'm expecting that my Desktop<>Laptop strategy in the
future may
> > look something like this:
> > On laptop, zip all of Amibroker to file called "Amibroker on
Laptop.zip".
> > On desktop, zip all of Amibroker to file called "Amibroker on
> > Desktop.zip".
> > Before switching computers, copy most recent .zip file to 'other'
> > computer.
> > Extract files from latest .zip into Amibroker folder prior to running
> > on 'other' computer.
> >
> > This should be fast, easy, and safe, even when doing all of
Amibroker.
> > Added benefit, is backup of both computers on both computers.
> > You can limit the zipped files to just the necessary ones. But I'm
> > beginning to think it's not worth the effort.
> >
> > I'll update, when I get some numbers on WiFi, and some history doing
it.
> > -- Keith
> >
> > Keith McCombs wrote:
> >
> >> Thank you for your replies.
> >> Dingo --
> >> Coping all is the easiest and safest, and I should do it, time
> >> permitting. However, sometimes I'm in a big hurry to get out the
> >> door and copying 600M+ over WiFi may make me late.
> >>
> >> Ed --
> >> That's the kind of info I was looking for. In fact, all I was
> >> missing (this time) was broker.newcharts.
> >>
> >> What I will probably try to do is set up two batch files to
handle
> >> the problem, "CopyABSafe" and "CopyABHurry".
> >> Thanks to both of you.
> >> -- Keith
> >>
> >> Ed Hoopes wrote:
> >>
> >>> I have used the instructions below several times to copy AB
to my
> >>> laptop when I travel.
> >>>
> >>> The only problem is that the laptop screen has a different
aspect
> >>> ratio, so each of your chart views have to be re-sized and
saved.
> >>>
> >>> ReefBreak
> >>>
> >>> AB must be installed on the target machine before you start.
> >>> AB should not be running on either machine, all files should
be closed.
> >>>
> >>> 1. Copy the stocks database folder
> >>> copy c:\YourLocation\US-Stocks to the target computer
> >>> 2. Copy the formulas folder
> >>> copy c:\Program Files\AmiBroker\Formulas to the target
computer
> >>> 3. Copy the broker.newcharts file
> >>> Copy c:\program files\amibroker\broker.newcharts to the
target computer
> >>> 4. Copy the Layouts folder
> >>> Copy c:\Program files\Amibroker\Layouts to the target
computer
> >>> 5. Copy the Watchlist files
> >>> copy c:\yourlocation\*.tls to the target computer
> >>>
> >>> --- In amibroker@xxxxxxxxxxxxxxx
> >>> <mailto:amibroker%40yahoogroups.com>,
dingo <waledingo@> wrote:
> >>> >
> >>> > why wouldn't you just copy the enitre AB directory over?
> >>> >
> >>> > d
> >>> >
> >>> > On Tue, May 12, 2009 at 6:30 PM, Keith McCombs
<kmccombs@>wrote:
> >>> >
> >>> > > I like to have my desktop and laptop computers
match as far as
> >>> Amibroker
> >>> > > is concerned. Usually I don't have a problem.
> >>> > >
> >>> > > However, recently, on my desktop, I wrote some new .afl
code using
> >>> > > Plot() and ChartId(). I copied the .afl code from
my desktop to my
> >>> > > laptop. I also copied the corresponding .awl layout
file to the
> >>> > > matching folder in my laptop.
> >>> > >
> >>> > > The charts for the new code display a message,
"ERROR: Formula
> >>> file not
> >>> > > found or empty - no chart to display". Older
.afl code displays the
> >>> > > charts just fine.
> >>> > > I use exactly the same path structure on both
computers, and all
> >>> .afl
> >>> > > code, new and old are in the same folder. Also, I
checked that the
> >>> > > values for ChartId in the code match those
displayed in the charts'
> >>> > > parameter windows.
> >>> > >
> >>> > > I am guessing that there are one or more files that
I must copy
> >>> over,
> >>> > > but which ones?
> >>> > >
> >>> > > As a general rule, I would like to keep my desktop
and laptop
> >>> synced up
> >>> > > without copying ALL files every time I switch
computers.
> >>> > >
> >>> > > Thanks for any help.
> >>> > > -- Keith
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> > > ------------------------------------
> >>> > >
> >>> > > **** IMPORTANT PLEASE READ ****
> >>> > > This group is for the discussion between users
only.
> >>> > > This is *NOT* technical support channel.
> >>> > >
> >>> > > TO GET TECHNICAL SUPPORT send an e-mail directly to
> >>> > > SUPPORT {at} amibroker.com
> >>> > >
> >>> > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> >>> > > http://www.amibroker.com/feedback/
> >>> <http://www.amibroker.com/feedback/>
> >>> > > (submissions sent via other channels won't be
considered)
> >>> > >
> >>> > > For NEW RELEASE ANNOUNCEMENTS and other news always
check DEVLOG:
> >>> > > http://www.amibroker.com/devlog/
<http://www.amibroker.com/devlog/>
> >>> > >
> >>> > > Yahoo! Groups Links
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> >
> >>>
> >
>