File system redirection

Bugs and issues - current donor version.
Post Reply
Message
Author
rs10
Posts: 2
Joined: 27.12.2012, 11:07

File system redirection

#1 Post by rs10 » 27.12.2012, 11:31

This is a 'problem' when using 32-bit FreeCommander in 64-bit Windows:

FC doesn't show the true contents of the \windows\system32 folder
(...as i discovered when i placed Hobocopy.exe there and then did Tools->Dos-box to run hobocopy, to no avail. But it ran the file fine from a cmd or powershell box)

An explanation found here:
http://stackoverflow.com/questions/1010 ... f-system32
You've run afoul of file system redirection.

Because %windir%\System32 is reserved exclusively for 64-bit applications, on 64-bit versions of Windows, 32-bit applications that attempt to access the %windir%\System32 directory are automatically and transparent redirected to the 32-bit %windir%\SysWOW64 directory.

First, make sure that your program actually does belong in the 64-bit system folder. Windows does this automatic redirection for a reason. 32-bit stuff does not go in the %windir%\System32 folder on 64-bit versions of Windows.

If you're certain that you want to be copying stuff into the 64-bit system directory, you have a couple of options. The easiest is probably to just compile your utility as a 64-bit application. Alternatively, you can tell the WOW64 redirector that you know what you're doing and not to perform the redirection by using %windir%\Sysnative instead of %windir%\System32.

Apr 11 at 5:42, Cody Gray


Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests