Make Sysnative

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Make Sysnative

Post by admin »

In Win7/64:

I'm failing at making the Sysnative folder from XY.

Then I tried this line in a BAT file, and opened the BAT "As Administrator" but that failed as well:

Code: Select all

mkdir "%windir%\Sysnative"
Any ideas?

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make Sysnative

Post by admin »

PS: Note that any other folder name works, e.g.:

Code: Select all

mkdir "%windir%\SysnativeTest"
It's only the one I want, "Sysnative", that fails.

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Make Sysnative

Post by Stefan »

As far as I get this all together, me thinks:

XY = 32-bit = sysnative already exists and point to System32 folder?




 

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make Sysnative

Post by admin »

No, Sysnative has to be created by the user, it is not shipped with Windows 7 (don't know about Win8).

Marco
Posts: 2347
Joined: 27 Jun 2011 15:20

Re: Make Sysnative

Post by Marco »

Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Make Sysnative

Post by Stefan »

admin wrote:No, Sysnative has to be created by the user, it is not shipped with Windows 7
I did not say this.

I meant, for a 32-bit app, the folder sysnative already exists natively and points to System32.


Try on 64-bit Win7:


- open WinEx and create a dir "C:\Windows\System32\aaaa Sys32, this is SysNative for 32-bit apps"

- in XY open a DOS-BOX by utilizing "!mkdir C:\Windows\Sysnative"
Ein Unterverzeichnis oder eine Datei mit dem Namen "C:\Windows\sysnative" existiert bereits.

- In that DOS-BOX do a: dir C:\Windows\Sysnative |more
Find "aaaa this is SysNative for 32-bit apps"


- - -


The same
- open WinEx and create a dir "C:\Windows\SysWOW64\aaaa SysWow64, for 32-bit apps this is Sys32"
- in XY open a DOS-BOX and utilize "!dir C:\Windows\System32 |more"




So me thinks, a 32-bit app can't create that sysnative folder, only a 64-bit app is able.
Because, for a 32-bit app that folder already "exists", but not for a 64-bit app.
Confirmed?


- - -


Another test
- open WinEx and create a dir "C:\Windows\sysnative\aaaa SysNative - can you see this, question-mark"
Next, try to browse sysnative from a 32- and a 64-bit app. What do you see?



The only way I see right now is:
1.) from XY use> !C:\Windows\Sysnative\cmd.exe
2.) in that box use> MD C:\Windows\sysnative

A combination of both in any way(*) I can think off didn't worked.

(*)
"!C:\Windows\Sysnative\cmd.exe MD C:\Windows\sysnative"
or
" writefile( "%tmp%\xy.cmd", "MD C:\Windows\sysnative");
run "C:\Windows\Sysnative\cmd.exe %tmp%\xy.cmd" ;"

Only first launching a 64-bit DOS-Box, then enter the MD command into the Box works.



.

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make Sysnative

Post by admin »

Well, it currently does not work without manually creating the folder. But there is one thing I have to check... (gotta go now, later...).

PeterH
Posts: 2785
Joined: 21 Nov 2005 20:39
Location: Germany

Re: Make Sysnative

Post by PeterH »

Don't know what's the difference?

I opened "Eingabeaufforderung" "as admin", entered:
C:\Windows\system32>mkdir "%windir%\Sysnative"
and it was created...
  • C:\Windows>dir sy*
    Datenträger in Laufwerk C: ist W7
    Volumeseriennummer: ...

    Verzeichnis von C:\Windows

    06.11.2013 14:16 <DIR> Sysnative
    14.07.2009 03:36 <DIR> system
    10.06.2009 22:08 219 system.ini
    06.11.2013 11:16 <DIR> System32
    16.10.2013 13:41 <DIR> SysWOW64
    1 Datei(en), 219 Bytes
    4 Verzeichnis(se), 25.003.532.288 Bytes frei
(W7 X64 SP1)

edit: I've checked before that it didn't exist :roll:
Win11 Pro 223H2 Gerrman

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make Sysnative

Post by admin »

:beer: :beer: :beer: WHOA, Stefan, you nailed it!

It always exists, XY just did not see it!!! :whistle: That makes everything MUCH simpler of course, and, hey, much more portable! ;)

Filehero
Posts: 2644
Joined: 27 Feb 2012 18:50
Location: Windows 10 Pro x64

Re: Make Sysnative

Post by Filehero »

Hi Don,

let me know, what I could check on Windows 8.1 if there's still need for. But you now, when back from work I need exact and detailed recipies. :biggrin:


Cheers,
Filehero

pesto12601
Posts: 20
Joined: 04 Mar 2012 20:56

Re: Make Sysnative

Post by pesto12601 »

So... quite confused here. Have latest 13.3 version and trying to edit/find my hosts file.. navigate to C:\Windows\system32\drivers and cannot see the etc folder. Try to create one and it says it already exists. I get the warning line: system32 has been redirected by windows to sysWow64... but why can't I see the etc folder? All hidden files/folders are activated.. thx!

admin
Site Admin
Posts: 60567
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Make Sysnative

Post by admin »

Tick this:
Configuration | Shell Integration | 64-bit Windows | Show the real System32 directory

(It should have been auto-ticked on upgrading, strange... :?)

Post Reply