May 17, 200619 yr Hey All, big issue here trying to figure out. I have a program i created to convert a pdf file to an earlier version (compatible with version 4.0) The way my program works is the user enters the directory and filename at the command line. For example, to convert pdf named testing.pdf you would run this: c:programspdfconverter.exe c:pdfstesting.pdf I originally required quote's around the directoryfilename.pdf so that it knew it was one parameter, but now i just pull the entire command line and get it that way, i figured it would be easier on filemaker pro The problem is, that i want this to be automated, i have my script right now save the file as a pdf, it varries depending on the record i'm on, so, what i have is a set variable I have $pdffile = "c:pdfs" & [invoice number] & ".pdf" any help would be GREAT thanks guys!
May 18, 200619 yr You need to have quotes around the path & filename if there are spaces in them. But you don't need to have your users type them. Have your script check for spaces and quotes, if there are spaces and no quotes, use the Quote() FileMaker function.
Create an account or sign in to comment