Mar 28, 2008 #1 vgwprja Programmer Joined Mar 27, 2008 Messages 24 Location 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 Joined Mar 27, 2008 Messages 24 Location 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 Joined Nov 8, 2002 Messages 53,708 Location 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