Search found 4 matches

by bridfi
21 May 2012 12:38
Forum: DOS Batch Forum
Topic: find complete folder name based on first 4 characters?
Replies: 8
Views: 5048

Re: find complete folder name based on first 4 characters?

Thank you!

This was a little too complex for me, its funny that it only took 2-3 lines of code..

Thanks again!
by bridfi
21 May 2012 11:50
Forum: DOS Batch Forum
Topic: find complete folder name based on first 4 characters?
Replies: 8
Views: 5048

Re: find complete folder name based on first 4 characters?

wow.. thanks. it works perfectly. now im just trying to figure out how to cycle through all the job numbers.... i was thinking of a for loop? can a for loop be within another loop? for example, how to cycle through 6000-7000... right now it only does 6780. set "num=6780" for /d %%i in (&qu...
by bridfi
18 May 2012 15:14
Forum: DOS Batch Forum
Topic: find complete folder name based on first 4 characters?
Replies: 8
Views: 5048

Re: find complete folder name based on first 4 characters?

thats perfect.. can i store the output as a variable to use as a destination for the move??

im just trying to move files into their respective folders.

all files will start with 5555

and folders start with 5555, 5556, etc..

thank you in advance!
by bridfi
18 May 2012 12:47
Forum: DOS Batch Forum
Topic: find complete folder name based on first 4 characters?
Replies: 8
Views: 5048

find complete folder name based on first 4 characters?

im just trying to find a way to find the complete directory name based on the first 4 characters.. 4224 asdjasd sd as das dsa dsa ds 4522 asdasdssadda 4676 asdasdasd sd ad s da 4899 asdasdssad sdasd sa 4902 asdasdsa sd asd a etc.... if given "4899", and one folder matches, return the entir...