AutoCAD Land Desktop (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Script / Batch Problem

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
251 Views, 2 Replies

Script / Batch Problem

Greetings, all:

I've posted this message to the Land-Dektop2 newsgroup as well, and gotten
no response yet. Here goes.

I need to open up every .dwg file on the server, switch some settings, close
and go to the next file. I've written the following batch routine to launch
LDD2 and run the script;

for %%f in (y:\*.dwg) do start /wait "D:\Program Files\Land Desktop
R2\acad.exe" %%f /b script.scr

The problem is that the batch runs, opens LDD2, and stops. It never runs the
script. I've used this same format successfully with previous releases, and
I'm at a loss.

Any help would be greatly appreciated.

--
Joel Ritner
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

why don't you just use scriptpro located in the migration assistance.

David at the CADapult
http://geocities.com/~cadapult
remove the "_" to reply by email

On Wed, 21 Jun 2000 18:58:12 +0000, "Joel Ritner"
wrote:

>Greetings, all:
>
>I've posted this message to the Land-Dektop2 newsgroup as well, and gotten
>no response yet. Here goes.
>
>I need to open up every .dwg file on the server, switch some settings, close
>and go to the next file. I've written the following batch routine to launch
>LDD2 and run the script;
>
>for %%f in (y:\*.dwg) do start /wait "D:\Program Files\Land Desktop
>R2\acad.exe" %%f /b script.scr
>
>The problem is that the batch runs, opens LDD2, and stops. It never runs the
>script. I've used this same format successfully with previous releases, and
>I'm at a loss.
>
>Any help would be greatly appreciated.
Message 3 of 3
Anonymous
in reply to: Anonymous

Wow!

I guess sometimes it does pay to go through all the documentation.

Thanks a million. I've found a new toy.

--
Joel Ritner
"David Garrigues" wrote in message
news:39526e40.358022002@discussion.autodesk.com...
> why don't you just use scriptpro located in the migration assistance.
>
> David at the CADapult
> http://geocities.com/~cadapult
> remove the "_" to reply by email
>
> On Wed, 21 Jun 2000 18:58:12 +0000, "Joel Ritner"
> wrote:
>
> >Greetings, all:
> >
> >I've posted this message to the Land-Dektop2 newsgroup as well, and
gotten
> >no response yet. Here goes.
> >
> >I need to open up every .dwg file on the server, switch some settings,
close
> >and go to the next file. I've written the following batch routine to
launch
> >LDD2 and run the script;
> >
> >for %%f in (y:\*.dwg) do start /wait "D:\Program Files\Land Desktop
> >R2\acad.exe" %%f /b script.scr
> >
> >The problem is that the batch runs, opens LDD2, and stops. It never runs
the
> >script. I've used this same format successfully with previous releases,
and
> >I'm at a loss.
> >
> >Any help would be greatly appreciated.
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report