Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Execute program with Command Line Parameter that is a Variable

Featured Replies

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!

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

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.