Search found 19 matches
- 18 Jul 2014 07:56
- Forum: DOS Batch Forum
- Topic: Batch File Help Please ( reference a text file )
- Replies: 9
- Views: 6970
Re: Batch File Help Please ( reference a text file )
I got it to work!!! thank you so much! the problem i am having now is it works in a separate batch file, but when i add the text to my main batch program it will not work??? Is there some way to isolate this script from the rest so it will work within my main batch program? i have tried putting ( ) ...
- 18 Jul 2014 05:02
- Forum: DOS Batch Forum
- Topic: Batch File Help Please ( reference a text file )
- Replies: 9
- Views: 6970
Re: Batch File Help Please ( reference a text file )
IT ALMOST WORKED PERFECTLY!!! Maybe it was my example that wasnt clear enough, the location worked PERFECTLY, however the files.txt will contain a list of hundreds of file names example 12422 1232456 12323 1231 it worked for the first line of 12422, but it did not work on the rest, i basically want ...
- 17 Jul 2014 10:20
- Forum: DOS Batch Forum
- Topic: Batch File Help Please ( reference a text file )
- Replies: 9
- Views: 6970
Re: Batch File Help Please ( reference a text file )
Im not sure if that will work exactly, what i have is this Xcopy C:\Example\123\0.jpg C:\Destination\123\0.jpg but i have hundreds of lines at a time to do this, and the starting point and folder names are constantly changing. Not the jpg, just the folder that it is in. So i would like to have 2 .tx...
- 16 Jul 2014 10:06
- Forum: DOS Batch Forum
- Topic: Batch file to rename all files in folders at once
- Replies: 1
- Views: 2334
Batch file to rename all files in folders at once
I want to know how to batch rename files in all subfolders... right now i have folders with 1 .jpg in them for example.. 1 -image.jpg 2 -image3.jpg 3 -image4.jpg 4 -image7.jpg and in each folder there is a .jpg image, with various names, i want to rename each .jpg to 0.jpg in all sub folders so i en...
- 15 Jul 2014 06:13
- Forum: DOS Batch Forum
- Topic: Batch File Help Please ( reference a text file )
- Replies: 9
- Views: 6970
Re: Batch File Help Please ( reference a text file )
well it would be using different things. like xcopy or dir or rename or move ect.. i am just wondering if there is a way that whenever i enter a certain directory, instead of writing it in the batch file i can type a certain code that will reference a specified txt file, this way i can just paste in...
- 11 Jul 2014 04:42
- Forum: DOS Batch Forum
- Topic: Batch File Help Please ( reference a text file )
- Replies: 9
- Views: 6970
Batch File Help Please ( reference a text file )
I would like to write a specific batch program on a flash drive that i will use repeatedly, but on different computers so the directorys will change. Therefor i would like to put a .txt file that i can paste the directory in so that when the batch file runs, it looks into that .txt file and uses wha...
- 17 Sep 2013 11:08
- Forum: DOS Batch Forum
- Topic: batch file to rename files
- Replies: 3
- Views: 3286
Re: batch file to rename files
no, the 2 images within each folder are exactly the same. i just need 2 copies of the same image, so it doesn't matter which one is 0 or which one is 1.
- 17 Sep 2013 09:23
- Forum: DOS Batch Forum
- Topic: Creating directory lists for a range of folders
- Replies: 12
- Views: 7948
Re: Almost there, Just a little more help pleeeeease :)
no i dont want to delete stepone, i was just wanted it to place the .txt list in one folder up. You did it for me before, but i just cant seem to figure out what you changed in the batch file to get it to do it. its not a big deal if it cant be done, i was just wondering.
- 17 Sep 2013 08:19
- Forum: DOS Batch Forum
- Topic: Creating directory lists for a range of folders
- Replies: 12
- Views: 7948
Re: Almost there, Just a little more help pleeeeease :)
I just want the .txt to be placed inC:\DaveCarbonesSchematicFinalizer\ProgramFiles\Pictures
instead of
C:\DaveCarbonesSchematicFinalizer\ProgramFiles\Pictures/stepone
instead of
C:\DaveCarbonesSchematicFinalizer\ProgramFiles\Pictures/stepone
- 17 Sep 2013 06:57
- Forum: DOS Batch Forum
- Topic: Creating directory lists for a range of folders
- Replies: 12
- Views: 7948
Re: Almost there, Just a little more help pleeeeease :)
one more question.. how do i modify it to go even one more level up in the directory tree to "C:\DaveCarbonesSchematicFinalizer\ProgramFiles\Pictures" ? thanks.. Dave.
- 17 Sep 2013 06:18
- Forum: DOS Batch Forum
- Topic: batch file to rename files
- Replies: 3
- Views: 3286
batch file to rename files
i have a directory "C:\Main" and within the directory several others "C:\Main\1" C:\Main\2" ect.. In each numbered directory there are 2 image files. Each directory structure is the same, meaning there in only 1 directory and always only 2 images in each. Can i make a batch ...
- 16 Sep 2013 06:28
- Forum: DOS Batch Forum
- Topic: Creating directory lists for a range of folders
- Replies: 12
- Views: 7948
Re: Almost there, Just a little more help pleeeeease :)
you are the man!!! thanks SOOOOO MUCH!!!
- 13 Sep 2013 09:57
- Forum: DOS Batch Forum
- Topic: Creating directory lists for a range of folders
- Replies: 12
- Views: 7948
Re: Almost there, Just a little more help pleeeeease :)
wait, it actually does work, the only thing is it is putting the .txt in the folders themselves, i would like the .txt to be placed in "C:\DaveCarbonesSchematicFinalizer\ProgramFiles\Pictures\`Step_One"
how would i modify it to do that?? thanks
how would i modify it to do that?? thanks
- 13 Sep 2013 09:51
- Forum: DOS Batch Forum
- Topic: Creating directory lists for a range of folders
- Replies: 12
- Views: 7948
Re: Almost there, Just a little more help pleeeeease :)
it did not work?? it returns the following in the CMD window... C:\DaveCarbonesSchematicFinalizer\ProgramFiles\Pictures\`Step_One\Charlie File Not Found C:\DaveCarbonesSchematicFinalizer\ProgramFiles\Pictures\`Step_One\Danny File Not Found C:\DaveCarbonesSchematicFinalizer\ProgramFiles\Pictures\`Ste...
- 13 Sep 2013 05:47
- Forum: DOS Batch Forum
- Topic: Creating directory lists for a range of folders
- Replies: 12
- Views: 7948
Creating directory lists for a range of folders
okay, so i have a batch file that goes to specified directories and makes a .txt list of the files within the specified directory. I use the batch like so... cd C:\DaveCarbonesSchematicFinalizer\ProgramFiles\Pictures\`Step_One\Danny%1 for /F "delims=" %%j in ('dir /A-D /B /O:GEN') do echo ...