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 Rhinorhino 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: g37s
  • Content: Threads
  • Order by date
  1. g37s

    vbscript + shell + output var?

    I created this command in vbscript and output to a file, but really I would like to assign the output to a variable so I can 'If variable = "whatever" then' in my vbscript code. Any ideas? Set objShell = CreateObject("WScript.Shell") strRun = "%comspec% /c cacls C:\ | find ""Domain Admins"" >...
  2. g37s

    Simple question I guess..

    I have this code below that will write a registry value to a file. I want the next line in the code to say if the registry value = 1 then write [PASSED!] if anything else write [FAILED!]. Set WshShell = WScript.CreateObject("WScript.Shell") outfile.writeline "Append parent suffix of the...

Part and Inventory Search

Back
Top