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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do you use quotes within quotes?

Status
Not open for further replies.

ahoover

Programmer
Feb 4, 2004
20
US
i.e.

"psexec \\" & strcomputer & " "c:\TEMP" "

It won't recognize it the correct way. Any ideas?
 

"psexec \\" & strcomputer & " " & chr(34) & "c:\TEMP"& chr(34)




 
psexec \\" & strcomputer & """c:\TEMP"""


Programming today is a race between software engineers striving to build better and bigger idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. - Rick Cook (No, I'm not Rick)

zen.gif
 
psexec \\" & strcomputer & "'c:\TEMP'"


Everybody body is somebodys Nutter.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top