Jump to content
Sign in to follow this  
Dirk Diggler

What happens with underline in betas?

Recommended Posts

when i use it, AutoIt says "unterminated string"

$vbsscript = ' strComputer = "." ' & @CRLF & ' _

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") ' & @CRLF & ' _

...................

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

$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!~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...