SysNative and "as administrator"
Moderators: Hacker, petermad, Stefan2, white
SysNative and "as administrator"
I have created a button with command "c:\windows\Sysnative\cmd.exe" to start a 64bit shell. The button works fine if I click it normally. But if I right click and select "as administrator" I get the error "searchpath not found". Also when I put an asterisk in front of the command ("*c:\windows\Sysnative\cmd.exe") to start directly with administrator rights, I get this error too.
It seems that it is a Windows problem. If you try to start that cmd.exe directly, you'll get same error.
I suggest to create a junction System64 for System32 folder and start System64\cmd.exe - it will work always:
I suggest to create a junction System64 for System32 folder and start System64\cmd.exe - it will work always:
Code: Select all
mklink /D %WINDIR%\System64 %WINDIR%\System32
- sqa_wizard
- Power Member
- Posts: 3893
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
I don't understand. SysNative is a Link/Alias/Whatever that is handled by TotalCommander, so it's up to TC to process "SysNative" correctly in the "as admin" case.sqa_wizard wrote:It is windows which causes this behavior!
If you look at c:\windows with "Windows-Explorer" there is no "SysNative" directory.
Norbert
It's not a link, it's a virtual folder visible to all 32-bit applications. Windows Explorer is a 64-bit application, that's why it does not see this folder.
It's not a link, it's a virtual folder visible to all 32-bit applications. Windows Explorer is a 64-bit application, that's why it does not see this folder.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64