Mar 28, 2008 #1 vgwprja Programmer Mar 27, 2008 24 US I have problems with building a string using '"'. Below is the string: command = "pgp --encrypt " & fromFile & " --recipient " & """travelers""" & " --output " & toFile I need to have the variables fromFile and toFile within quotes ('). Thank you.
I have problems with building a string using '"'. Below is the string: command = "pgp --encrypt " & fromFile & " --recipient " & """travelers""" & " --output " & toFile I need to have the variables fromFile and toFile within quotes ('). Thank you.
Mar 28, 2008 Thread starter #2 vgwprja Programmer Mar 27, 2008 24 US Solved, here is correct string: command = "pgp --encrypt """ &fromFile& """ --recipient " & """travelers""" Upvote 0 Downvote
Solved, here is correct string: command = "pgp --encrypt """ &fromFile& """ --recipient " & """travelers"""
Mar 28, 2008 #3 PHV MIS Nov 8, 2002 53,708 FR within quotes (') Code: command = "pgp --encrypt '" & fromFile & "' --recipient 'travelers' --output '" & toFile & "'" Hope This Helps, PH. FAQ219-2884 FAQ181-2886 Upvote 0 Downvote
within quotes (') Code: command = "pgp --encrypt '" & fromFile & "' --recipient 'travelers' --output '" & toFile & "'" Hope This Helps, PH. FAQ219-2884 FAQ181-2886