O que devo fazer para tirar cmd (64 bits) quando digito cmd

0

Agora, quando digito cmd, obtenho cmd (32 bits).

Eu preciso obter cmd (64 bits)

    
por Emilio Platzer 04.07.2016 / 15:17

1 resposta

2

Eu preciso obter cmd (64 bits)

O cmd.exe de 64 bits está localizado em C:\Windows\System32

Duas versões diferentes da pasta Arquivos de Programas e da pasta Sistema do Windows

A 64-bit Windows has two different versions of the program files folder and the Windows system folder (system directory). One version is intended for 32-bit files and other version is intended for 64-bit files. The name of these folders, and the bitness they are intended for, is shown in the table below:

enter image description here

Below you can see the full path to the folders.

enter image description here

The 'System32' folder is for 64-bit files and the 'SysWOW64' folder is for 32-bit files This can be somewhat confusing, but the System32 folder is intended for 64-bit files and the SysWOW64 folder is intended for 32-bit files. This may seem a bit illogical if you look at the folder names, but there is an explanation to this. It has to do with compatibility.

Many developers have hard coded the path to the system folder in their applications source code. They have included "System32" in the folder path. And to preserve compatibility, if the application is converted to 64-bit code, the 64-bit system folder is still named System32.

But what about 32-bit applications that have the system path hard coded and is running in a 64-bit Windows? How can they find the new SysWOW64 folder without changes in the program code, you might think.

The answer is that the emulator redirects calls to System32 folder to the SysWOW64 folder transparently so even if the folder is hard coded to the System32 folder (like C:\Windows\System32), the emulator will make sure that the SysWOW64 folder is used instead.

So same source code, that contains a path with the System32 folder included, can be compiled to both 32-bit and 64-bit program code without any changes.

Fonte Windows de 64 bits: os arquivos de programas (x86) Pastas 'e' SysWOW64 'explicadas

    
por 04.07.2016 / 15:56