Jump to content
Sign in to follow this  

run cmd in 64 bit mode

Recommended Posts


I want

if @OS = "X64" then run cmd.exe at "C:\windows\SysWOW64"


run cmd.exe at "C:\windows\System32"

for this work I use below code for do this but always run cmd.exe at System32 folder. how can solve this problem?

if @OSArch = "X86" Then
    RunWait(@ComSpec & " /k ", "")
    RunWait(@ComSpec & " /k ", "")


Edited by behdadsoft

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...