Page 1 of 1

Seven 64bits command line

Posted: Wed Jan 11, 2012 2:45 pm
by pnormand
I had a vbcript to automatize backup with Synchronize It!.
On windows XP it worked fine. Now after changing my PC, on Seven 64bits, the same script did not work any more.
I have an error message telling me that Synchronize It! couldn't find the session !?
When I launch Synchronize It! and execute the session it's work fine.
Any idea about the issue ?
Thanks in advance.

Re: Seven 64bits command line

Posted: Thu Jan 12, 2012 11:28 am
by TonHu
Are you aware of all changes in Windows related to UAC and x64? UAC Security disallows programs to write to "C:\Program Files" and some other secure directories, and x64 uses "C:\Program Files (x86)" for 32 bit applications, like SI en CI, instead of "C:\Program Files"

Re: Seven 64bits command line

Posted: Fri Jan 13, 2012 6:40 am
by pnormand
Hi TonHu,

Yes, I am aware of those changes, my command line is :
"C:\Program Files (x86)\..IT\SynchroniseIt\wndsync.exe" D_FromTo /auto /log0 E:\Sync\D_FromTo.html
but I don't understand why, in command line, windows launch a "different version of SI" (not registered and without sessions).

Thanks for your help.

Re: Seven 64bits command line

Posted: Fri Jan 13, 2012 11:27 am
by TonHu
Most likely your settings are stored in the ini file (not in registry) and that is (presumably) searched in the current directory. Might help if you explicitly set the current directory in the batch file or the working directory in the shortcut to the SI application directory.