/build/static/layout/Breadcrumb_cap_w.png

copy to c:\program files or c:\program files (x86)

:In wisescript editor i have created this script to check if it is c:\program files or c:\program files (x86)

Get Registry Key SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE place in Variable CPUARCH

If CPUARCH Equals "x86" then

Set Variable PROGFILES to c:\Program Files

Else

Set Variable PROGFILES to c:\Program Files (x86)

End

Set Variable FILEPATH to %CTEMP%\Source
Set Variable DEST to %PROGFILES%\test
Copy local file from %FILEPATH%\testscript.vbs to %DEST%\testscript.vbs

but if i run it he copy it to c:\program files (x86)\

This is strange, or i don't see the fault

can you help me

kind Regards
Steven

0 Comments   [ + ] Show comments

Answers (1)

Posted by: quinzy2001 14 years ago
Senior Yellow Belt
-1
ha oki, problem solved
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ