deltsigjoe
IS-IT--Management
thread329-1221834
Hello All,
I am installing some software with a vbscript. I have been working on an XP machine and it works great. When I tried it on a Win7 machine, the script did not work... I modified the script to work on Win7 and it worked great, but now the script will not run on the XP machine. It is basically a one liner to correct the versions.
Since I have half and half (winxp and win7) computers in my environment, is there a way to detect either WinXP or Win7 and run that line of code for the correct OS?
Hello All,
I am installing some software with a vbscript. I have been working on an XP machine and it works great. When I tried it on a Win7 machine, the script did not work... I modified the script to work on Win7 and it worked great, but now the script will not run on the XP machine. It is basically a one liner to correct the versions.
Since I have half and half (winxp and win7) computers in my environment, is there a way to detect either WinXP or Win7 and run that line of code for the correct OS?