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 / 4029
4028  |  4030
Subject: 
Re: Bulk processing
Newsgroups: 
lugnet.cad
Date: 
Thu, 22 Jun 2000 20:18:30 GMT
Viewed: 
787 times
  
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 lugnet.cad, jake mckee wrote: >
steve, >>is there a way to run an automatic routine to remove the "--01" from the >>filenames?



Message has 2 Replies:
  Re: Bulk processing
 
(...) There is. What you do is you have these lines in your batch file. rename ?--01.gif ?.gif And so on, with more ? each time. That should work for you. (24 years ago, 22-Jun-00, to lugnet.cad)
  Re: Bulk processing
 
(...) If you've already generated all the image files, you're going to have a hard time cleaning them up correctly. If you're willing to scrap the existing files, and regenerate all the images, you can get correct filenames with no problem. Jonathan (...) (24 years ago, 23-Jun-00, to lugnet.cad)

Message is in Reply To:
  Re: Bulk processing
 
(...) 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 (...) (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