Jump to content

Recommended Posts

Posted

hello.

i know this is a problem because of the quotes and special characters maybe?

im trying to do this:

FileWrite($file, "test
Set-schema: HPD:Help Deskitsmprod
Query: 1000005125=1000005124=1000000688=1000000687=1000000398=1000000397=301291000=AST:CMDBAssoc CI UA CMDBAssoc301290700=AST:AssetPeople_AssetBase '301921200' = "SYE" AND '7' != "Resolved" AND '7' != "Closed" AND '7' != "Cancelled"
end")oÝ÷ Ù¸·ö÷­®'v§Øb±»­Ü²Ø^±©¦ºé¿m«­¢+ØÀÌØíÑáÐôÌäíÑÍÐ)Mе͡µè!Aé!±Àͬ¥Ñ͵Áɽ)EÕÉäèÄÀÀÀÀÀÔÄÈÔôÄÀÀÀÀÀÔÄÈÐôÄÀÀÀÀÀÀØààôÄÀÀÀÀÀÀØàÜôÄÀÀÀÀÀÀÌäàôÄÀÀÀÀÀÀÌäÜôÌÀÄÈäÄÀÀÀõMPé
5   Íͽ
$U
5   ÍͽÌÀÄÈäÀÜÀÀõMPéÍÍÑA½Á±}ÍÍÑ  ÍÌäìÌÀÄäÈÄÈÀÀÌäìôÅÕ½ÐìÌäì()¥±]É¥Ñ ÀÌØí¥±°ÀÌØíÑáÐ
Posted

You get the point...

$String="Set-schema: HPD:Help Deskitsmprod Query: 1000005125=1000005124=1000000688=1000000687=1000000398=1000000397=301291000=AST:CMDBAssoc CI UA CMDBAssoc301290700=AST:AssetPeople_AssetBase '301921200' = " & '"SYE"' & " AND '7' != " & '"Resolved"' & " AND '7' != " & '"Closed"' & " AND '7' != " & '"Cancelled" end"'

MsgBox(4096,"",$String)
Posted

Why are you required to have mixed quote types inside the string anyways? Use one type of quotes on the inside and the other on the outside. Problem solved.

Posted

worked great thanks!

You get the point...

$String="Set-schema: HPD:Help Deskitsmprod Query: 1000005125=1000005124=1000000688=1000000687=1000000398=1000000397=301291000=AST:CMDBAssoc CI UA CMDBAssoc301290700=AST:AssetPeople_AssetBase '301921200' = " & '"SYE"' & " AND '7' != " & '"Resolved"' & " AND '7' != " & '"Closed"' & " AND '7' != " & '"Cancelled" end"'

MsgBox(4096,"",$String)

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
×
×
  • Create New...