Can someone describe what the following does:
"BLOCKED SCRIPTvoid(null);" "-wsMY_FILE=%1" "%1"
Does this stop normal configuration script processing and replace with the following only? "-wsMY_FILE=%1" "%1"
Hi Gary,
Unknown said:"BLOCKED SCRIPTvoid(null);" "-wsMY_FILE=%1" "%1"
I see three different parts in your question.
It's not quite clear what BLOCKED SCRIPT does. Or was something originally different blocked when posted to this web?
What is clear is -ws argument. It's used to define MicroStation configuration variable when MicroStation started, so it should not be define at Windows level or in some MicroStation configuration file. -wsMY_FILE=%1 create a configuration variable named MY_FILE and sets it to the value of the first parameter used when batch is started. Because %1 parameter is used, I suppose your example is from some bat file?
Last "%1" takes the first argument used when batch file was started and pass it to MicroStation as a design file to be opened.
Unknown said:Does this stop normal configuration script processing
I guess not, but it can depend on you workspace configuration and Windows environment.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
I read what the tech page link says but I still dont understand it.. could somebody explain what that original posted script actually does or doesnt allow..
Also it looks like its what you put into the shortcut of the mstn icon ...or have I completely missed what the tech page meant...
Lorys
Started msnt work 1990 - Retired Nov 2022 ( oh boy am I old )
But was long time user V8iss10 (8.11.09.919) dabbler CE update 16 (10.16.00.80)
MicroStation user since 1990 Melbourne Australia.click link to PM me