Having problem getting quotation marks with SYSTEM
Boaz Bezborodko
boaz at mirrotek.com
Tue Nov 15 07:59:29 PST 2011
I use Bob's excellent PrintWizard program for many things including
generating PDFs. Since I give people the choice of whether to print to
a printer or a PDF I have a routine that enters a !PDF command in the
first line of the file. Up until now I haven't had a problem in that I
didn't use any filenames with spaces in them. I know that Printwizard
can handle those files if I include them inside quotation marks. But
I'm having trouble getting in the quotation marks and I'm not sure why.
I input the line by first creating a file with the !PDF as the first
line by executing a SYSTEM "ECHO..." command. To put in the quotation
marks I'm doing
SYSTEM "ECHO !PDF \"/f\\server\data\fpro\temp\ "{[filename]{"\" >>
"&[anotherfilename]
But the line in [anotherfilename] looks like this (without the intended
quotation marks):
!PDF /f\\server\data\fpro\temp\[filename]
What am I missing?
Boaz
--
Mirrotek International, LLC
90 Dayton Avenue
Building 1-F
Passaic, NJ 07055
Tel: 973-472-1400 x.112
Fax: 973-472-5170
More information about the Filepro-list
mailing list