Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

OS script

taduytin

New member
Hi all,

I have a mapkey to clean my directory. It was written in tab "OS Script" of dialog "mapkey" as following:
"purge & directory".

Now I want to make a mapkey, which will do 02 tasks:
1. Save all parts, assemblies... first.
2. Then, purge all old versions of all parts, assemblies...
I've tried to write as following:
"save;
purge & directory".
but it didn't run!
smiley19.gif

Pls help me to write in OS script!
Generally, how & where to find more detail about "OS script"?
smiley5.gif


Thanks in advance!
 
I'm using r2001 , but am pretty sure the syntax will be the same.


I also use notepad to make my edits of my config file.


a OS call will look like this, note the double slashes


mapkey xx @SYSTEMC:\\Provb\\procommand.exe;


I suggest you make your mapkeys independent, per function,allows you to include them in other ones later to join them together as one then it's;


mapkey av %wd;%vb;


mapkey av plays mapkey wd and mapkey vb


for me it's easier to keep track of this way


note there is a upper limit on the length of a mapkey, but if you chain them together, you can get around it


hth
 

Sponsor

Articles From 3DCAD World

Back
Top