Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: kjani
  • Order by date
  1. kjani

    test if the operating system is XP and run a script IF NOT run the other script

    thank you so much MAKES TOTAL SENSE... and you are correct...the GPO was VERY shaky it didn't do anything. I think I will try the way you said AD account also yes I see what you mean - the value was no good because I did not have the correct script. da huh LOL sorry :) MUCH APPRECIATON TO...
  2. kjani

    test if the operating system is XP and run a script IF NOT run the other script

    thank you MUCH APPRECIATION THIS WAS INCORRECT MsgBox "OSVersion='" & OSVersion & "'" if I took the "OSVersion='" and got rid of the ' then the result was OSVersion=' then I took away the "'" and put just "" and got a blank so I started experimenting...basically it did not return an...
  3. kjani

    test if the operating system is XP and run a script IF NOT run the other script

    Well that gave me a result of OsVersion=" so that does not work this is the code...what is WRONG? Select Case OSVersion Case "Microsoft Windows XP Professional" strProg = "netswitchXP.vbs" Case Else strProg = "netswitch.vbs" End Select CreateObject("WScript.Shell").Run "cscript.exe " &...
  4. kjani

    test if the operating system is XP and run a script IF NOT run the other script

    I did it did not help. It runs fine...but does not do the netswitchXP.vbs basically I need to TURN OFF the wireless network card on any computer regardless of O.S. IF the user has a WIRED CONNECTION. so that they cannot have a simultaneous connection of both wired and wireless. the...
  5. kjani

    test if the operating system is XP and run a script IF NOT run the other script

    OK I tried running it and it looks like it works but does not really work? the screen flies by so fast - I can run my netswitchXP.vbs script in a dos window with cscript.exe netswitchXP.vbs "Local Area Connection" "Wireless Network Connection" and IT WORKS. but when I use the script (which...
  6. kjani

    test if the operating system is XP and run a script IF NOT run the other script

    OK - I need to put the following 'variables' after each netswitchXP.vbs OR netswitch.vbs commands cscript.exe netswitchXP.vbs "Local Area Connection" "Wireless Network Connection" or cscript.exe netswitch.vbs "Local Area Connection" "Wireless Network Connection" is that possible?
  7. kjani

    test if the operating system is XP and run a script IF NOT run the other script

    I am a novice with vbscripting but have a desperate need for a script to do the following (EXTREMELY SIMILAR to the thread "Find if OS is x86 or x64 then Windows 7 or XP and run msi"> HOWEVER, all I need to do is test if the operating system is XP or NOT...and run a script if XP I need to...
  8. kjani

    Find if OS is x86 or x64 then Windows 7 or XP and run msi

    I am a novice with vbscripting but have a desperate need for a script to do the following (EXTREMELY SIMILAR to the above request) <which was Find if OS is x86 or x64 then Windows 7 or XP and run msi> HOWEVER, all I need to do is test if the operating system is XP or NOT...and run a script...

Part and Inventory Search

Back
Top