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.

Using command.exe with FileMaker

Featured Replies

I am trying to get into a container text field information that I type in a DOS shell.

Using Send Event Script Step I have worked with a .bat file to rename and copy files on the hard drive. But now I am trying to copy the results of a command to a Global text field.

For instance, if I type dir I want to get the result of that command into the text field.

There may be a command to store that result into a log file. If that is possible then I could only import that log file into the database.

Thanks...

I think I understand the question. Try this syntax:

dir > temp.txt

This does the dir command and directs the output to a file named temp.txt

FYI:

dir /o >> temp.txt

would sort the results of the dir command and append (add) to whatever already exists in the temp.txt file.

From there you could import the contents of the temp.txt file into FM.

There is a free (donationware) plug in called shell from abstrakt which executes OS commands and also returns the results of an OS command into a text field. Look at this link

http://www.abstrakt.com/shell.html

  • Author

thank you guys...

it is working now!!!

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.