To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 4007
4006  |  4008
Subject: 
Re: Bulk processing
Newsgroups: 
lugnet.cad
Date: 
Mon, 19 Jun 2000 17:06:22 GMT
Viewed: 
742 times
  
In lugnet.cad, jake mckee wrote:

steve,
is there a way to run an automatic routine to remove the "--01" from the
filenames?

Hmm.  It seems I gave you a bit of bad instructions.  Probably has to do
with giving you a script I hadn't actually run myself.  ANYWAY, the command

   move c:\ldraw\bitmap\*.* c:\ldraw\cat\%1-%2.bmp

actually creates a system of directories, one for each partfile.

Instead of the MOVE command, try the COPY command:

   copy c:\ldraw\bitmap\*.* c:\ldraw\cat\%1-%2.bmp

If you like the system of directories, you could use the REName and MOVE
commands:

   ren c:\ldraw\bitmap\*.* %1-%2.bmp
   move c:\ldraw\bitmap\*.* c:\ldraw\cat\%1-%2

changing 'cat\%1-%2' to whatever directory you want.  Notice the %1 is the
part name, and %2 is the color code.

Side Note: when I use the onepart.bat script on my system, I have to change
the LDLite command from:

   start /wait ldlite %1 -MS -C%2

to

   start /wait ldlite c:\ldraw\parts\%1 -MS -C%2

Steve



Message has 1 Reply:
  Re: Bulk processing
 
steve, this --01 issue has brought up the concept of renaming files again. is there a batch way to rename a file based in part on what it currently is named? so file--01.gif is changed to file.gif thanks! jake In lugnet.cad, Steve Bliss writes: >In (...) (24 years ago, 22-Jun-00, to lugnet.cad)

Message is in Reply To:
  Re: Bulk processing
 
steve, is there a way to run an automatic routine to remove the "--01" from the filenames? thanks! jake (24 years ago, 19-Jun-00, to lugnet.cad)

14 Messages in This Thread:







Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR