| | Re: Bulk processing Steve Bliss
|
| | (...) Here's another approach: Create a file whereever you've got ldlite.exe. Call this file onepart.bat, and put the following commands in it: erase c:\ldraw\bitmap\*.* start /wait ldlite %1 -MS -C%2 move c:\ldraw\bitmap\*.* c:\ldraw\cat\%1-%2.bmp (...) (24 years ago, 15-Jun-00, to lugnet.cad)
|
| | |
| | | | Re: Bulk processing Rui Manuel Silva Martins
|
| | | | (...) Is this command (FOR) actually a DOS compatible batch command, or is it only available on NT (cmd) I'm asking this, because I don't remember a DOS (FOR) batch command, at least with this format. Thanks, for any info. See ya Rui Martins (24 years ago, 16-Jun-00, to lugnet.cad)
|
| | | | |
| | | | | | Re: Bulk processing Jonathan Wilson
|
| | | | | | It was added sometime around dos 6.x I think. (24 years ago, 16-Jun-00, to lugnet.cad)
|
| | | | | | |
| | | | | | Re: Bulk processing Steve Bliss
|
| | | | | (...) Like Jonathan said, it was added in DOS 6.0. Maybe DOS 5.0, but definitely not before that. Looking at the command-line help for FOR in NT4, there are some options which could be used to streamline the process I described in my earlier (...) (24 years ago, 19-Jun-00, to lugnet.cad)
|
| | | | | |
| | | | Re: Bulk processing Jake McKee
|
| | | | Steve, This worked awesome. This is exactly what I needed. One last question though, how do I add a command to automatically say yes everytime I am prompted for the yes/no option for deleting files? Thanks! (...) in (...) (24 years ago, 17-Jun-00, to lugnet.cad)
|
| | | | |
| | | | | | Re: Bulk processing Steve Bliss
|
| | | | | (...) To be more specific than my e-mail response, change the command: erase c:\ldraw\bitmap\*.* to echo Y | erase c:\ldraw\bitmap\*.* in the onepart.bat file. That should resolve the problem. Steve (24 years ago, 19-Jun-00, to lugnet.cad)
|
| | | | | |
| | | | Re: Bulk processing Jake McKee
|
| | | | 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)
|
| | | | |
| | | | | | Re: Bulk processing Steve Bliss
|
| | | | (...) 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)
|
| | | | |
| | | | | | Re: Bulk processing Jake McKee
|
| | | | 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)
|
| | | | |
| | | | | | Re: Bulk processing Jonathan Wilson
|
| | | | | (...) 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 Steve Bliss
|
| | | | (...) 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)
|
| | | | |