: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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

-1
ha oki, problem solved
Answered 10/26/2010 by: quinzy2001
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity