Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Runing External Files thru Ustation
Hi Courtney,
The generic command (built into MicroStation, works with Windows, maybe other
OS's as well) is:
start x:\file\path\here\name.exe which you can run from a key-in, menu item, tool palette, or macro using the MbeSendKeyin "" statement. Note that you can provide command line arguments after the .exe (if the .exe accepts them).
Sometimes you'll get errors (under NT only?):
"Cannot find the UStn-32.txt file...." - notepad.exe "The path 'x:\path\UStn-32' does not exist or is not a directory" -explorer.exe
HTH,
Simon
Courtney Wright wrote:
>
> I'm looking for key-in commands that can be placed in the menu key-in
> textbox under customize that will run a file (ex: *.exe, *.bat, *.cmd,
> etc...) Is there a key-in command that will allow me to do this?
>
> If not, is that a ustation basic command that will allow me to do the same?
> If so, I could write a macro that calls the *.bat file, and then call the
> macro from the menu key-in. I prefer to be able to do it without using that
> macro.
>
> Thanks,
> Courtney
--
Remove NOSPAM from my address if replying.
Received on Tue Jan 25 2000 - 16:46:02 CST