Search found 42 matches

by jeff p
23 Feb 2016 13:08
Forum: DOS Batch Forum
Topic: Re-Number files
Replies: 6
Views: 6561

Re: Re-Number files

Thanks, foxidrive. Your code removed the first name prefix. ( IMG_) and left the number sequence unchanged. .. However the temp.bat.txt file it created gave me the idea to simply follow that line of reasoning and rename all these manually in the same fashion. Thanks again for the help. Cheers Jeff
by jeff p
22 Feb 2016 23:46
Forum: DOS Batch Forum
Topic: Re-Number files
Replies: 6
Views: 6561

Re: Re-Number files

Thanks for the replies! Foxdrive, Yes the file name will always remain the same for each set of images to renumber.... In this case it's IMG_ in another set it might be IMGR_ ( if there's a way for me to modify the code such that I can account for an additional character space for a different name, ...
by jeff p
22 Feb 2016 12:49
Forum: DOS Batch Forum
Topic: Re-Number files
Replies: 6
Views: 6561

Re-Number files

Renumber files? I have 12,000 images in Z:\Images\Renders that i'd like to re-unumber. its a mix of .jpg's, and tga's. My current folder looks like this: IMG_00000.tga IMG_00001.jpg IMG_00002.jpg IMG_00003.jpg IMG_00004.jpg IMG_00004.tga IMG_00005.jpg IMG_00006.jpg IMG_00006.tga etc.. I'd like to st...
by jeff p
21 Sep 2015 14:49
Forum: DOS Batch Forum
Topic: Copy files from folder to folder
Replies: 1
Views: 2445

Copy files from folder to folder

I have this simple script that copies files from one folder to another. xcopy Z:\Files_From\Folder_1\*.tga "Z:\Files_To\Folder_1\" xcopy Z:\Files_From\Folder_2\*.tga "Z:\Files_To\Folder_2\" xcopy Z:\Files_From\Folder_3\*.tga "Z:\Files_To\Folder_3\" xcopy Z:\Files_From\F...
by jeff p
14 Sep 2015 19:04
Forum: DOS Batch Forum
Topic: Moving large number of files yields strange results.
Replies: 5
Views: 5129

Re: Moving large number of files yields strange results.

Just tested this code..

....works great!!!

Thank you very much, einstein1969,
Very much appreciate this..

Cheers!

Jeff
by jeff p
13 Sep 2015 22:54
Forum: DOS Batch Forum
Topic: Moving large number of files yields strange results.
Replies: 5
Views: 5129

Moving large number of files yields strange results.

I received this code on this forum, which moves the first 40 images (out of 3000), to their own folder. It's been working great!.. Recently I've needed to move the same number images from a larger total of 15120 images. The first 9999 images seem to work fine but anything beyond this amount causes s...
by jeff p
03 Jul 2013 23:21
Forum: DOS Batch Forum
Topic: Add heading between lines in text document
Replies: 13
Views: 11927

Re: Add heading between lines in text document

Hi Aacini I've been trying to run the script. The dos prompt would appear and quickly disappear. The results I anticipated were to have the modified text overwrite my original txt file, or output as a new one. I wasn't sure If i needed to modify the code in any way.. ie insert the names as a variabl...
by jeff p
03 Jul 2013 19:54
Forum: DOS Batch Forum
Topic: Add heading between lines in text document
Replies: 13
Views: 11927

Re: Add heading between lines in text document

The script provided doesn't work for me, despite my many attempts to modify.

... I assume it's too problematic to work out?

If so, I appreciate the effort!

Many thanks!

Jeff
by jeff p
30 Jun 2013 15:59
Forum: DOS Batch Forum
Topic: Add heading between lines in text document
Replies: 13
Views: 11927

Re: Add heading between lines in trext document

Thanks for any help with this! Looks as though It may be complicated. My initial thought would be to indicate character names within the code: ie Bob_, Mary_, Tom_, etc. to be used as the dividing area. Very clever Aacini. The only issue may be ! characters if the screenplay has any. Yes, I would be...
by jeff p
29 Jun 2013 22:07
Forum: DOS Batch Forum
Topic: Add heading between lines in text document
Replies: 13
Views: 11927

Add heading between lines in text document

I have a screenplay (text document) which I would like to indicate their separate lines of dialogue. My text document is located here: C:\Projects\Scripts\Version01.txt Is it possible for a batch script to accomplish this? as an example: to go from this: Bob_ Te vero tantas elaboraret usu, mollis la...
by jeff p
30 May 2013 12:05
Forum: DOS Batch Forum
Topic: Rename text file based on content
Replies: 31
Views: 30674

Re: Rename text file based on content

Thanks Endoro!

Cheers!
by jeff p
29 May 2013 22:55
Forum: DOS Batch Forum
Topic: Rename text file based on content
Replies: 31
Views: 30674

Re: Rename text file based on content

I thank you Endoro! this script is a life saver!! Thanks Aacini for the code!.. Fortunately my text files are quite small, but there are many of them Thanks again for the help guys! Jeff Endoro, If I may ask, what area of the code designates the line count? If in the future I needed to extract the 1...
by jeff p
29 May 2013 19:30
Forum: DOS Batch Forum
Topic: Rename text file based on content
Replies: 31
Views: 30674

Re: Rename text file based on content

Thanks, once again Endoro. The renaming functionality works great!!
I needed to remove the "Echo" for it to work.

...however how can I add the ".txt" extension for the final output text file, in your code?
It renames the file without an extension.


Thanks again!

Jeff
by jeff p
29 May 2013 11:26
Forum: DOS Batch Forum
Topic: Rename text file based on content
Replies: 31
Views: 30674

Rename text file based on content

I have a few hundred text files (of various names) in a folder. C:\Renamed_Files\ I'm in desperate need of a batch file which will rename each text file based on the 3rd line of their respected text..and if possible, not to exceed 40 characters from the left. (each file varies in length, some have m...
by jeff p
22 May 2013 00:22
Forum: DOS Batch Forum
Topic: Increment to text list Add prefix?
Replies: 4
Views: 4634

Re: Increment to text list Add prefix?

Awesome!

Thank you very much!