Search found 15 matches

by dchall8
21 Nov 2019 17:54
Forum: DOS Batch Forum
Topic: Old Script on (relatively) new computer
Replies: 11
Views: 2605

Re: Old Script on (relatively) new computer

That works, too. I'll use it. Performance wise, the file converted 2,766 image files, measuring 119 MB, into 488 PDF files, measuring 118 MB. It is SUCH a relief to have this working. Processing time was 131 seconds or about 21 images converted into 3.7 PDF documents per second (on average). There w...
by dchall8
21 Nov 2019 14:11
Forum: DOS Batch Forum
Topic: Old Script on (relatively) new computer
Replies: 11
Views: 2605

Re: Old Script on (relatively) new computer

It is a thing of beauty to watch a true craftsman practicing his/her trade. This gives a much cleaner looking CMD ECHO. Thank you, THANK YOU! I believe the parentheses and quotes are a significant improvement over whatever script I had working on my previous computers. One thing that has always conc...
by dchall8
21 Nov 2019 10:08
Forum: DOS Batch Forum
Topic: Old Script on (relatively) new computer
Replies: 11
Views: 2605

Re: Old Script on (relatively) new computer

BINGO! :D Thank you for your patience on this. Here's the working script... @echo on & setlocal EnableExtensions ENableDelayedExpansion set oldpath=%PATH% set PATH=%PATH%;c:\bin; set SRC=c:\test\src\ set DST=C:\test\dest\ set DBG=ECHO/ pushd %SRC% for /F "tokens=*" %%A in ('dir /B/A-D/ONE "*.001"') ...
by dchall8
20 Nov 2019 18:46
Forum: DOS Batch Forum
Topic: Old Script on (relatively) new computer
Replies: 11
Views: 2605

Re: Old Script on (relatively) new computer

I think I have all your suggestions now, but did I get the parentheses right? @echo on & setlocal EnableExtensions ENableDelayedExpansion set oldpath=%PATH% set PATH=%PATH%;c:\bin; set SRC=c:\test\src\ set DST=C:\test\dest\ set DBG=ECHO/ pushd %SRC% for /F "tokens=*" %%A in ('dir /B/A-D/ONE "*.001"'...
by dchall8
20 Nov 2019 16:51
Forum: DOS Batch Forum
Topic: Old Script on (relatively) new computer
Replies: 11
Views: 2605

Re: Old Script on (relatively) new computer

Thanks for taking a look. I entered CMD, changed directories to the source, and ran the batch from Windows. Nothing. I moved the batch file into the source directory to access it directly and renamed it a.bat. I checked the dir of the source and a.bat is there with a size of 515. I also am using a v...
by dchall8
20 Nov 2019 14:29
Forum: DOS Batch Forum
Topic: Old Script on (relatively) new computer
Replies: 11
Views: 2605

Old Script on (relatively) new computer

I hope someone can find a simple, Bozo mistake I'm making with this file. Back on 2012 I had gotten some DOS help on another forum which is now inactive. I'm using a 2014 era, Win 7 Home Premium, 64-bit, computer. I have been using the batch file on a weekly basis since 2012 on various computers, an...
by dchall8
27 Oct 2014 17:16
Forum: DOS Batch Forum
Topic: Find files, concat, rename, convert, store in new folder
Replies: 25
Views: 4778

Re: Find files, concat, rename, convert, store in new folder

Lifesaver is too strong a term, but you guys really improved our life here in the office. Thank you so much for the extensive help. -No way I could have done that. And thanks for the commenting, too. No way I could have done that either. In the end my 800,000+ images were reduced to about 175,000 in...
by dchall8
22 Oct 2014 10:59
Forum: DOS Batch Forum
Topic: Find files, concat, rename, convert, store in new folder
Replies: 25
Views: 4778

Re: Find files, concat, rename, convert, store in new folder

No new folders (directories) are being created. The files are going into the Destination folder (directory). At this point it is water under the bridge, because I've converted 150,000 files (YES!!) The last batch is running right now. But I am still interested in the batch syntax to create new folde...
by dchall8
21 Oct 2014 08:04
Forum: DOS Batch Forum
Topic: Find files, concat, rename, convert, store in new folder
Replies: 25
Views: 4778

Re: Find files, concat, rename, convert, store in new folder

In looking at the code, I think I see where you use the md command to create a dst directory, but I don't see the dst directory anywhere. The files are pouring into the Destination folder. I can deal with that, but I thought you should know that the md "%dst%" 2>nul might not be working as...
by dchall8
20 Oct 2014 17:50
Forum: DOS Batch Forum
Topic: Find files, concat, rename, convert, store in new folder
Replies: 25
Views: 4778

Re: Find files, concat, rename, convert, store in new folder

It is working nicely. Thank you so much. For now we do have some page numbers up to 20,000. Those are not real page numbers, but for ease of doing this, I set it up this way. Some of the "page numbers" are page numbers and some are document numbers. Those which are well over 1,000 are docu...
by dchall8
20 Oct 2014 07:34
Forum: DOS Batch Forum
Topic: Find files, concat, rename, convert, store in new folder
Replies: 25
Views: 4778

Re: Find files, concat, rename, convert, store in new folder

I see the volume names in the folder hierarchy. Here are three screen shots drilling down into the folders. Maybe this will help. This first one shows how they collected the folders for the volumes numbered 150 through 539. There are more numbered just like that as you scroll down. https://dl.dropbo...
by dchall8
18 Oct 2014 22:27
Forum: DOS Batch Forum
Topic: Find files, concat, rename, convert, store in new folder
Replies: 25
Views: 4778

Re: Find files, concat, rename, convert, store in new folder

will be named something like "Volume 645 page 1424.pdf" The scheme would be Volume [name of original volume] page [name of original file].pdf. Underscores could be used to fill the gaps if necessary. Where will the files be processed? Does it make a difference? What is this volume that yo...
by dchall8
18 Oct 2014 00:00
Forum: DOS Batch Forum
Topic: Find files, concat, rename, convert, store in new folder
Replies: 25
Views: 4778

Re: Find files, concat, rename, convert, store in new folder

What I would like to have is a batch file (or something) that will convert this mass of files all at once. Something that will peek into the nest of folders, find the *.001 TIF files inside each folder, run the concatenation and conversion, and then store the new PDF file inside a new folder with t...
by dchall8
17 Oct 2014 18:02
Forum: DOS Batch Forum
Topic: Find files, concat, rename, convert, store in new folder
Replies: 25
Views: 4778

Find files, concat, rename, convert, store in new folder

Hello all. I'm brand new to this forum. I've been around since DOS but abandoned it for Windows once they finally got that working (circa 2007 ), so I'm a real batch novice. Several years ago I enlisted help from a forum like this one to help write a batch file. The batch worked like a charm for wha...