behdadsoft Posted October 18, 2015 Share Posted October 18, 2015 (edited) Hi.I wantif @OS = "X64" then run cmd.exe at "C:\windows\SysWOW64"elserun 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 ", "") Else RunWait(@ComSpec & " /k ", "") EndIfThanks. Edited October 18, 2015 by behdadsoft Link to comment Share on other sites More sharing options...
behdadsoft Posted October 18, 2015 Author Share Posted October 18, 2015 Find it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now