32 bit cmd.exe & Shell

FuzMic

DataBase Tinker
Local time
Today, 22:37
Joined
Sep 13, 2006
Messages
744
Hi mates

Still on the learning curve for Access 03.sp2 running in a 64 bit win7. Since there are 2 cmd.exe's with the 32 bit version in C:\Windows\sysWOW64\cmd.exe, how do I ensure that the Shell command will use this 32 version? I can see problems with the Access 03.sp2 applications facing problems when i use shell involving 32 bit dos command if nothing is done to the VB6 codes. HELP! :(
 
I've not explicitly tested it but I'd be surprised if you got to run 64-bit cmd.exe from a 32-bit program. Anything that's 32-bit run in a special mode (aka WOW64) so they can't really interact with the 64-bit mode. At least that's how I understand it.

Did you actually try it and what happened?
 
I would be surprised as well. What commands are you trying to shell? Are you just trying to start a program?
 
Thanks to both of you.

I use the "Shell" to open an expandable zipped .exe file eg Shell "Blank-mdb.EXE", vbHide; no problem in win7.32 bit.


Tinkered the following in win7.64bit but met a blank wall as yet:

Run the cmd.exe from the C:\windows\system32 folder, then within the command prompt dialog type zip.exe (a 32 bit). It responded stating that a 32bit program can't be run in 64 OS.

Next a did the same with C:\Windows\sysWOW64\cmd.exe and the same negative result.

Still tinkering!!
 
Period: 32 bit cmd.exe & Shell resolved

My latest finding is the pkunzip.exe i am using was way back in 1995 thus when i try to run it with shell under win7 64 bit it just don't run; it was ok for win7 32 bit.

Later I got a copy of zip written by Info-ZIP dated 2010, this run fine with shell of msaccess in win7 64 bit.
 

Users who are viewing this thread

Back
Top Bottom