I need to create a script to automatically execute (for Schedule Task) the "Synchronize Directory" with specific parameters. I need to complete (not just open dialog) without user intervention.
I have a batch script with command line
C:\Totalcmd\totalcmd.exe /O /L=C:\Temp1 /R=E:\Temp1 /S=S:=SyncDirs
and in wincmd.ini i have added section
[SyncOptions]
SyncDirs_Flags=1|57|6
With the above I am at the point where the dialog box it opens (with complete the Compare) and wait for the click in the "Synchronize..." button.
I want :
1) to run the process "Synchronize..." automatically, without user
and
2) to set the Next Parameters (in the Next Dialog "Synchronize")
a) Left To Right --> New Extra1 Folder
b) Right To Left --> New Extra2 Folder
c) Confirm overwrites --> False
It can be done ?
thanks in advance
Elias Dimitriadis (Greece)
Automatic Synchronize Directories for Schedule Task
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Total Commander isn't meant for automatic synching. Try using a command line tool, either xcopy, or the command line tool CmdSync from
http://www.fileware.co.uk
http://www.fileware.co.uk
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hey eliasdim, check out my reply on this thread other
http://www.ghisler.ch/board/viewtopic.php?p=262357#262357
SmartSync Pro might be able to solve your problem.
http://www.ghisler.ch/board/viewtopic.php?p=262357#262357
SmartSync Pro might be able to solve your problem.
- mad
- Junior Member
- Posts: 15
- Joined: 2003-06-30, 04:46 UTC
- Location: Europe, France, Essonne, Bievres
- Contact:
Hello dear TC users,
I'm searching for same kind of usage.
In order to accomplish this, I guess I'll use the same kind of script, but I'll include it in an AutoIt script.
Personnally for old-timer reason I use AutoIt V2 (available here : www.autoitscript.com/site/autoit/autoit-v2/ )and not V3 though V3 is much more powerful.
I guess there is now some kind of "standard windows scripting" (I just remember the icon is quite the same as on Mac, a kind of parchment scroll, derived from Basic and maybe called Macro).
AutoIt is enough 'cause in this cause we could do it eyes-closed : the same sequence of keys is always the same. If something goes weird (unusual messagebox), there is one (only one)"trap'em" action available.
Of course I don't recommend to use such synchronizations without knowing and accepting the risks that automated syncing can generate, as reminded in John999's other thread about automated sync.
If someone's interested, I'll post the script here. But don't hesitate to ask for it, for as you can see, I don't come here often, though (or because??) I use TC for years :)
It's one of the 2 sharewares I've bought and kept using btw.
Have a nice day,
M.
I'm searching for same kind of usage.
In order to accomplish this, I guess I'll use the same kind of script, but I'll include it in an AutoIt script.
Personnally for old-timer reason I use AutoIt V2 (available here : www.autoitscript.com/site/autoit/autoit-v2/ )and not V3 though V3 is much more powerful.
I guess there is now some kind of "standard windows scripting" (I just remember the icon is quite the same as on Mac, a kind of parchment scroll, derived from Basic and maybe called Macro).
AutoIt is enough 'cause in this cause we could do it eyes-closed : the same sequence of keys is always the same. If something goes weird (unusual messagebox), there is one (only one)"trap'em" action available.
Of course I don't recommend to use such synchronizations without knowing and accepting the risks that automated syncing can generate, as reminded in John999's other thread about automated sync.
If someone's interested, I'll post the script here. But don't hesitate to ask for it, for as you can see, I don't come here often, though (or because??) I use TC for years :)
It's one of the 2 sharewares I've bought and kept using btw.
Have a nice day,
M.
__________| Tout est en tout, et reciproquement--Einstein Frank
/__\o_|___|
\,_/o_|_(_) http://marsu.est-ici.org/ : a Marsu's page!
__/_(_)____
_/_________ http://la.musique.c.est-gratuit.org/ back soon!
/__\o_|___|
\,_/o_|_(_) http://marsu.est-ici.org/ : a Marsu's page!
__/_(_)____
_/_________ http://la.musique.c.est-gratuit.org/ back soon!