Jump to content

This topic is 7581 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello there!

I bit of puzzle and perhaps some of you have dealt with this issue.

I have a container field that hold "my_file.exe" and going to that field or selceting works great= executes my file....

now, I would like to execute this file with some triggers/paramaters that I stored in text field.

---------------

container_field: "my_file.exe"

paramters_field: "-s/g-t"

----------------

C_compound_field: container_filed&""&paramters_field

===============

stored as text or containder or :??

The goal is to execute my_file.exe -s/g/-t at ones.

Am I apporaching this all worng? Send Message does not apply as I need the .exe file to be stored in DB.....

any thoughts?

Many thanx!

Posted

well since you said you need the .exe file to be stored in the container. the only way to append to the command line info is by first exporting the container's contents. Thus FMP7 comes in.

But, if you just store the .exe as a file reference ( don't even need the container just a text field that holds the path o that .exe then the send message will work fine.

Charles

Posted

Hi Charles!

Thax for the feedback!

I am aware of 'send msg' if the file resides somehwere else on HD...but that is just it...I would like to keep the file.exe in the DB but I guess I should have known better.....

I like the idea of "exporting" the file.exe (whihc in this case could be treated as "install") but I am on FM 6 so exporting container fields....is.... frown.gif

many thanx!

Posted

well I attempted to "move the file" by scripting:

------------

copy[field]

OpenURL [c:test]

paste[field]

-----------

but no luck...is there an alternative to "container export" in FM6?

thanx!

This topic is 7581 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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