REQ: Command-line parameter for cm_SyncChangeDir
Moderators: Hacker, petermad, Stefan2, white
REQ: Command-line parameter for cm_SyncChangeDir
When starting TC from command line with two specific paths, it would be nice if there was an additional command-line parameter to enable SyncChangeDir.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: REQ: Command-line parameter for cm_SyncChangeDir
Make a view mode and add the cm_SyncChangeDir command into the Auto-run commands.
Add an Auto-view mode setting for one of your 2 dirs and set this view mode.
Add an Auto-view mode setting for one of your 2 dirs and set this view mode.
Windows 11 Home, Version 24H2 (OS Build 26100.2161)
TC 11.50b5 x64 / x86
Everything 1.5.0.1383a (x64), Everything Toolbar 1.5.1, Listary Pro 6.3.1.81
QAP 11.6.4 x64
TC 11.50b5 x64 / x86
Everything 1.5.0.1383a (x64), Everything Toolbar 1.5.1, Listary Pro 6.3.1.81
QAP 11.6.4 x64
Re: REQ: Command-line parameter for cm_SyncChangeDir
2Horst.Epp
Why bind to specific folders at startup? It's unnecessary. It's easier to write the command in autorun.cfg: SendCommand 2600
Why bind to specific folders at startup? It's unnecessary. It's easier to write the command in autorun.cfg: SendCommand 2600
Overquoting is evil! 👎
Re: REQ: Command-line parameter for cm_SyncChangeDir
The request is to only start this mode
"When starting TC from command line with two specific paths"
This has nothing to do with general TC start-up.
My suggestion provides this.
Feel free to provide an autorun solution
Windows 11 Home, Version 24H2 (OS Build 26100.2161)
TC 11.50b5 x64 / x86
Everything 1.5.0.1383a (x64), Everything Toolbar 1.5.1, Listary Pro 6.3.1.81
QAP 11.6.4 x64
TC 11.50b5 x64 / x86
Everything 1.5.0.1383a (x64), Everything Toolbar 1.5.1, Listary Pro 6.3.1.81
QAP 11.6.4 x64
Re: REQ: Command-line parameter for cm_SyncChangeDir
I agree. I overlooked it.
What are you about?
Overquoting is evil! 👎
Re: REQ: Command-line parameter for cm_SyncChangeDir
Exactly. When passing the paths through command-line, i'd also like to be able to enable SyncChangeDir mode.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: REQ: Command-line parameter for cm_SyncChangeDir
You can do this:
Code: Select all
If StrPos(AUTORUN_TCCMDLINE, '/L="C:\Path\to\dir"') > 1 _
And StrPos(AUTORUN_TCCMDLINE, '/R="D:\Path\to\dir"') > 1 Then SendCommand 2600
Overquoting is evil! 👎
Re: REQ: Command-line parameter for cm_SyncChangeDir
I don't think i can do this. First of all where should i do this and second, i want to pass those parameters from an external program. How would i do what you describe.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: REQ: Command-line parameter for cm_SyncChangeDir
2wanderer
I wrote where:
Where you will run your TC instance with this setting doesn't matter.
Only on the command line, you cannot use /i= with another ini file without Autorun installed.
You can make it even easier — look for the presence of a key like /CS:
I wrote where:
Have you ever used the Autorun plugin?
Where you will run your TC instance with this setting doesn't matter.
Only on the command line, you cannot use /i= with another ini file without Autorun installed.
You can make it even easier — look for the presence of a key like /CS:
Code: Select all
If StrPos(AUTORUN_TCCMDLINE, ' /CS') > 1 Then SendCommand 2600
Overquoting is evil! 👎
cm_SyncChangeDir using command-line parameters
I searched a bit in Help and couldn't find anything, so i'm requesting it as a feature.
One can pass the Left and Right folders as command-line parameters when executing TC. Why not also have a command-line switch to turn on cm_SyncChangeDir?
One can pass the Left and Right folders as command-line parameters when executing TC. Why not also have a command-line switch to turn on cm_SyncChangeDir?
Last edited by wanderer on 2024-09-01, 21:53 UTC, edited 2 times in total.
- Wanderer -
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
Normally using latest TC on:
x32: WinXPx32 SP3 (very rarely nowadays).
x64: Clients/Servers - Win10/Win11 and Win2K16 to Win2K22, mainly Win10 though.
Re: REQ: Command-line parameter for cm_SyncChangeDir
Moderator message from: Hacker
Merged topic cm_SyncChangeDir using command-line parameters.
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.