Syncronize directories bug w. x64Disableredirection
Moderators: Hacker, petermad, Stefan2, white
Syncronize directories bug w. x64Disableredirection
I've found an error with 'cm_FileSync' with x64Disableredirection=1.
When 'syncronize' wants to delete a file on the right side (marked with an 'x') an error occurs. TC 7.55 (final) claims it cannot be deleted, 'cause it's write protected - which it is not.
When x64Disableredirection is changed to 0, TC has no problems deleting the x marked files.
PS: The error is only related to the deletion of files in 'Syncronize directories', ...as far, as I can see.
http://aswork.dk/szcvxarryk3/snap067.jpg
When 'syncronize' wants to delete a file on the right side (marked with an 'x') an error occurs. TC 7.55 (final) claims it cannot be deleted, 'cause it's write protected - which it is not.
When x64Disableredirection is changed to 0, TC has no problems deleting the x marked files.
PS: The error is only related to the deletion of files in 'Syncronize directories', ...as far, as I can see.
http://aswork.dk/szcvxarryk3/snap067.jpg
HerbieH*
-Keep on makin' music!
-Keep on makin' music!
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Thanks for your report. Is that a network path? If yes, what server type?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
On the left side, it was a local hard disk folder, such as "c:\temp\Total Commander 7.55 r2''. On the RIGHT side, it was a lan-path like: "\\192.168.1.3\c-drive\Total Commander 7.55 r2".
Anyway, I tested again, and the error still appears, even if both folders are local:
http://aswork.dk/szcvxarryk3/snap071.jpg
PS: I'm using Win7 Ultimate x64, and my 'gear' is generally well-functioning.
PPS: It doesn't matter if it's a long or short path, or what filetype it is.
And of course, with x64Disableredirection=0, I get no errors.
Greetings...
Anyway, I tested again, and the error still appears, even if both folders are local:
http://aswork.dk/szcvxarryk3/snap071.jpg
PS: I'm using Win7 Ultimate x64, and my 'gear' is generally well-functioning.

PPS: It doesn't matter if it's a long or short path, or what filetype it is.
And of course, with x64Disableredirection=0, I get no errors.
Greetings...
HerbieH*
-Keep on makin' music!
-Keep on makin' music!
Hello, HerbieH.
Although Christian will certainly wish to solve this problem, there is a pretty simple workaround for users of current 64-bit Windows versions like Windows 7 64-bit:
Do not use x64Disableredirection=1 at all. You should not need it any longer. Use Sysnative instead. Please, cf. here: On 64-bit Windows versions, some files and folders shown by Windows Explorer are not shown by Total Commander!.
Kind regards,
Karl
Although Christian will certainly wish to solve this problem, there is a pretty simple workaround for users of current 64-bit Windows versions like Windows 7 64-bit:
Do not use x64Disableredirection=1 at all. You should not need it any longer. Use Sysnative instead. Please, cf. here: On 64-bit Windows versions, some files and folders shown by Windows Explorer are not shown by Total Commander!.
Kind regards,
Karl
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed Microsoft have even released a hotfix for Windows XP and Server 2003 to allow access via SysNative:
http://support.microsoft.com/kb/942589
http://support.microsoft.com/kb/942589
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Hello Karlchen and Christian.
Thanx for the information about the use of the 'Sysnative' folder.
I still want to use 'x64Disableredirection' 'cause I use the same TC installation on a parallel 'WinXP x86'.
Example: I have a TC-button that starts 'msconfig.exe'. If I don't use 'x64Disableredirection=1' I have to make one button for Win7x64 ='%windir%\sysnative\msconfig.exe' -and another for WinXPx86 ='%windir%\system32\msconfig.exe'
..But maybe there is a 'common' envionment variable, that can solve this problem.
Sorry for the long explanation.
Greetings...
Thanx for the information about the use of the 'Sysnative' folder.
I still want to use 'x64Disableredirection' 'cause I use the same TC installation on a parallel 'WinXP x86'.
Example: I have a TC-button that starts 'msconfig.exe'. If I don't use 'x64Disableredirection=1' I have to make one button for Win7x64 ='%windir%\sysnative\msconfig.exe' -and another for WinXPx86 ='%windir%\system32\msconfig.exe'
..But maybe there is a 'common' envionment variable, that can solve this problem.
Sorry for the long explanation.

Greetings...
HerbieH*
-Keep on makin' music!
-Keep on makin' music!
2HerbieH
Alternative solution: On the x86 system you could use NtfsLinks to create a junction %windir%\sysnative, pointing to %windir%\system32.
This way the link to "%windir%\sysnative\msconfig.exe" would work on both systems.
Alternative solution: On the x86 system you could use NtfsLinks to create a junction %windir%\sysnative, pointing to %windir%\system32.
This way the link to "%windir%\sysnative\msconfig.exe" would work on both systems.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
Just what the T.C. WIKI article explains, in case anybody should care to read it ...
2karlchen
Indeed, thanks.
I clicked the link, I promise.
But as I would see the reparse point solution as kind of workaround I only looked for new 64bit-related infos and didn't expect to find this chapter there, too.
P.S.: Thanks for the nice link!
Indeed, thanks.
I clicked the link, I promise.

P.S.: Thanks for the nice link!
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
-- TC starter menu: Fast yet descriptive command access!
Hi, StatusQuo.
My previous post was not meant to address you personally.
Yet, to say so frankly, it is all on this TC WIKI article (which is merely a summary of some dozen forum threads):
Anyway. About the initially reported problem that X64DisableRedirection=1 makes delete operations fail inside the synchronize folders tool: hm, I am pretty confident that Christian will find a way of solving it ...
Cheers,
Karl
My previous post was not meant to address you personally.
Yet, to say so frankly, it is all on this TC WIKI article (which is merely a summary of some dozen forum threads):
- The best solution for the system32 folder issue on Windows 64-bit is the sysnative alias, where available.
- The KB article 942589 is mentioned in the WIKI article too (sysnative for Windows 2003 and XP)
- The second best solution for the system32 folder issue on Windows 64-bit is by using a self-created junction.
- The workaround which brings along most unwanted side effects is by using the T.C. setting X64DisableRedirection=1
Anyway. About the initially reported problem that X64DisableRedirection=1 makes delete operations fail inside the synchronize folders tool: hm, I am pretty confident that Christian will find a way of solving it ...

Cheers,
Karl
I just came up with another solution, for starting 'msconfig' - from a portable TC on a USBstick:
Just have the msconfig-button start a batch-file, triggering several add-on 'path'-strings, covering different placements of 'msconfig.exe' - like this:
filename: mscstart.bat
--------snip-------
rem ;; Make msconfig.exe start in xp-vista-win7 x86 and x64 etc.
path %path%;%windir%\sysnative;c:\WINDOWS\pchealth\helpctr\binaries;[other possible locations...]
msconfig.exe
--------snip-------
PS: it works! Feel free to add this to the wiki - or not
Greetings
Just have the msconfig-button start a batch-file, triggering several add-on 'path'-strings, covering different placements of 'msconfig.exe' - like this:
filename: mscstart.bat
--------snip-------
rem ;; Make msconfig.exe start in xp-vista-win7 x86 and x64 etc.
path %path%;%windir%\sysnative;c:\WINDOWS\pchealth\helpctr\binaries;[other possible locations...]
msconfig.exe
--------snip-------
PS: it works! Feel free to add this to the wiki - or not

Greetings
HerbieH*
-Keep on makin' music!
-Keep on makin' music!
Hello, HerbieH.
Every TC forum user has got the chance of adding a new article to the Total Commander WIKI. So feel free to do so.
Cheers,
Karl
Every TC forum user has got the chance of adding a new article to the Total Commander WIKI. So feel free to do so.

Cheers,
Karl
Hello, HerbieH. Hello, Christian.
Total Commander 7.55 (final)
Windows 7 Home Premium, 64-bit
Relevant Settings:
+ VistaDelete=1
+ X64DisableRedirection=1
Reported problem / behaviour reproduced and confirmed.
Total Commander 7.55a (final)
Windows 7 Home Premium, 64-bit
Relevant Settings:
+ VistaDelete=1
+ X64DisableRedirection=1
Reported problem / behaviour fixed. Tested and fix confirmed.
Kind regards,
Karl
Total Commander 7.55 (final)
Windows 7 Home Premium, 64-bit
Relevant Settings:
+ VistaDelete=1
+ X64DisableRedirection=1
Reported problem / behaviour reproduced and confirmed.
Total Commander 7.55a (final)
Windows 7 Home Premium, 64-bit
Relevant Settings:
+ VistaDelete=1
+ X64DisableRedirection=1
Reported problem / behaviour fixed. Tested and fix confirmed.
Kind regards,
Karl
- ghisler(Author)
- Site Admin
- Posts: 50475
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact: