Dirk Diggler Posted July 7, 2006 Share Posted July 7, 2006 when i use it, AutoIt says "unterminated string"$vbsscript = ' strComputer = "." ' & @CRLF & ' _Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") ' & @CRLF & ' _................... Link to comment Share on other sites More sharing options...
Nomad Posted July 7, 2006 Share Posted July 7, 2006 when i use it, AutoIt says "unterminated string"That's supposed to all be one line, not 3. Nomad Link to comment Share on other sites More sharing options...
Developers Jos Posted July 7, 2006 Developers Share Posted July 7, 2006 when i use it, AutoIt says "unterminated string"07th September, 2005 - v3.1.1.74 (beta)Changed : Set _ to be a continuation character only after whitespace. It does not matter if a comment follows the continuation character or not. \ is not a continuation character. (by Nutster) SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
marfdaman Posted July 7, 2006 Share Posted July 7, 2006 $vbsscript = ' strComputer = "." ' & @CRLF _ & 'Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") ' & @CRLF _ & ;something else Think this will work! Don't take my pic to serious...~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~You Looked, but you did not see!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now