Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Windows 7 x64: Execute a 64bit exe/script from a 32bit command prompt?

$
0
0

Anyone have any tricks up their sleeve to do as the title says?  For example:

I'm working within a 32bit app that calls a command using cmd.exe.  In taskmanager we see cmd.exe*32
From that cmd.exe, say we want to launch notepad.exe.  Obviously taskmanager will show notepad.exe*32.  We want plain old "notepad.exe" running in 64bit mode.

Thoughts:
I've been unable to do this using vbscript and may try a .NET console application next.
Another thought is to set up a schtask, run it, then delete it....but that sounds messy.

Am I missing something that would make this extremely easy?


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>