Page 1 of 1

Make Sysnative

Posted: 06 Nov 2013 12:26
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?

Re: Make Sysnative

Posted: 06 Nov 2013 12:38
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.

Re: Make Sysnative

Posted: 06 Nov 2013 12:39
by Stefan
As far as I get this all together, me thinks:

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




 

Re: Make Sysnative

Posted: 06 Nov 2013 12:40
by admin
No, Sysnative has to be created by the user, it is not shipped with Windows 7 (don't know about Win8).

Re: Make Sysnative

Posted: 06 Nov 2013 12:43
by Marco

Re: Make Sysnative

Posted: 06 Nov 2013 12:48
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.



.

Re: Make Sysnative

Posted: 06 Nov 2013 12:55
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...).

Re: Make Sysnative

Posted: 06 Nov 2013 14:25
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:

Re: Make Sysnative

Posted: 06 Nov 2013 14:38
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! ;)

Re: Make Sysnative

Posted: 06 Nov 2013 17:02
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

Re: Make Sysnative

Posted: 21 Nov 2013 17:55
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!

Re: Make Sysnative

Posted: 21 Nov 2013 18:01
by admin
Tick this:
Configuration | Shell Integration | 64-bit Windows | Show the real System32 directory

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