We have a situation where we need to execute a file (.bat, .vbs) on MicroStation startup from an existing centralized (on a server) MicroStation Configuration File. We need to know what code we would need to add to this central file to read a external file, again, something like a .bat or .vbs file. What we need to do is to copy one file from the server to the local "config" area of MicroStation V8i. Once this new file is copied to the local computer it will redirect to the new area we now have our Company configuration.
Does anyone know how to read, from a MicroStation Configuration File, a file that can copy a different file from the server to the local computer. Maybe there is a way to copy a file within the Configuration file which could work as well.
Thanks,
Marc
Is this just to copy a config redirection file after installing MicroStation?
If so a simple batch file can be added to your windows login scripts. See MicroStation - QuickConfig Standard for an example of such a file.
There is no way that I know of to do this from a configuration file. You might be able to accomplish what you want through a MicroStation VBA program that is configured to autoload.
Another option in the config file, instead of copying a server file, is to do %if exists at the server location. If it's found then do a %include to load it.
Rod WingSenior Systems Analyst