System command
Brian K. White
brian at aljex.com
Wed Jun 21 10:49:26 PDT 2017
Create a shortcut and run the shortcut instead of the batch file
Make a test1.cmd that has your batch file code in it.
Right-click on that, Create Shortcut. Rename it from "test1 - Shortcut"
back to "test1". It will look like two files with the same name, but if
you go into that directory in a cmd window and run "dir test1*", you
will see that one is test1.cmd and the other is test1.lnk
Right-click on the shortcut and set the desired font/geometry properties.
Finally in filepro, change the system command from system
"/path/to/test1.cmd options..." to system "/path/to/test1.lnk options..."
To test this manually, run the command from a "run" prompt, NOT from
another cmd window. It won't create a new window if you run it from an
existing window, and so you won't see the desired size. But go to
start->run and type in the full "C:\Users\Brian\Documents\test1.lnk foo
bar" and that pops up a new cmd window, with the size you saved in the
shortcut properties, and the commandline arguments "foo bar" are passed
to the batch file the same as if you had run test1.cmd foo bar.
--
bkw
On 6/21/2017 9:51 AM, SmittyUSN1 via Filepro-list wrote:
>
> Experts: I am using the SYSTEM command in input processing to bring the user to another record in a file. This works great however the popup screen is a lot smaller than the normal (set in the batch file) in the desktop Icon. Is there a way to set these properties when using the SYSTEM command inside processing?
>
> I read the help file on this and I see where the Syntax: set variable=value However there are no examples shown ....can somebody give me a clue?
>
> Thanks, the list is always a great resource for help.
>
> Wayne Smith
> Port Orange, Florida
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20170621/38b8683d/attachment.html>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>
More information about the Filepro-list
mailing list