[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] Re: File copying between Win2000 and XP-64 bit.



PureBytes Links

Trading Reference Links



TJ --
My copy of broker.newcharts contains reference to the complete path, as for example: "C:\Program Files\AmiBroker\Formulas\Custom\UCPICmake.afl".

I wish I had known about the installing programs to F: trick many years ago.  It's really hard to change now.  Not only for AB, but most all other programs I am running.

Is it possible to run both 32bit and 64bit versions of AB under XP64, without dual booting?  If so, perhaps you could explain how sometime.  I'm in no rush, but would like to try it eventually.
-- Keith

Tomasz Janeczko wrote:

Hello,
 
By default NO absolute paths are used in settings files - only relative paths are.
You may have of course choosen absolute path when changing things, but it is
equally easy to change them on new computer.
 
One rule however applies, before any copying, you must run FULL setup on new machine.
That is required, because only setup program is able to create proper COM server registration
because of admin / elevated rights.
 
Third advice:
I personally NEVER install programs to their default location (C:\Program Files).
I have separate partition for programs and install them to that partition (it is "F:" on my computer).
That guarantees that
a) my Windows partition is small therefore TrueImage images are small too and create faster
- also restorations are faster
b) I can share same application installed onto two OSes (I have 32 bit and 64 bit dual boot)
- it lives in the very same folder on partition F and takes disk space only once.
c) I don't have problems when moving to different computer because even if I use absolute paths
it is always "F:\\something" regardless of what OS and computer is used.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: Bob Jagow
Sent: Saturday, July 11, 2009 12:41 AM
Subject: RE: [amibroker] Re: File copying between Win2000 and XP-64 bit.

Anything new on the path and reg problems.

I want to transfer my prod AB to a new machine with win764.

 

TIA,

Bob

 

From: amibroker@xxxxxxxxxps.com [mailto:amibroker@yahoogroups.com] On Behalf Of Keith McCombs
Sent: Thursday, June 04, 2009 9:00 PM
To: amibroker@xxxxxxxxxps.com
Subject: Re: [amibroker] Re: File copying between Win2000 and XP-64 bit.

 



Mike --
Thanks for your response.  However, it is more complicated than just copying the files to the correct directory.  Directory paths are embedded in two binary files, broker.newcharts and broker.prefs.

I've sent a request to support and am waiting for an response from them.

Two* bad M$ didn't stick with the name, "Program Files", for the 32 bit software and "Program Files (64)" for the 64 bit stuff**.  But what can you expect from a company that makes you press the 'Start' button to stop?

-- Keith

*Yes, I know, should be 'too', but somehow 'two' seems more appropriate.
**Or someone in M$ marketing thinks that, somehow, they can sell just a little more bloat that way.

Mike wrote:

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@xxxxxxxxxps.com, 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@xxxxxxxxxps.com
> >>> <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
> >>> > >
> >>> > >
> >>> > >
> >>> > >
> >>> >
> >>>
> >
>






__._,_.___


**** 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/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/





Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___