| 1. |
Solve : [SOLVED] Batch single command---multiple times. How?? |
|
Answer» I feel like a newbie. I've not played with batch files in 20 years. What if the .spx files are not all in the same folder? What if some .spx files had been placed in another folder on 02/04/2008? It would be nice to find the lost files. Let's wait for the OP to ask for the help that he or she actually requires. Mr Trout wrote: Quote Let's wait for the OP to ask for the help that he or she actually requires. You may wait if you like. If all the original files did not have SEQUENCE numbers in the file name my code adds the squence number. Nice touch. Quote from: billrich on September 13, 2009, 03:39:33 PM
I didn't see where he asked for that. Unnecessary touch. Please do not call me "Mr Trout" unless you really are intending to start an argument, OK? Quote from: Salmon Trout on September 13, 2009, 03:44:20 PM
Ok, I call you Fishman. You code is very compact and efficient. Very difficult for most of us new people to decipher. But code is for show not for ease to understand or use.Quote from: billrich on September 13, 2009, 04:01:33 PM Ok, I call you Fishman. bill you are just being rude and humorless. and weird, i thought code is for use. not the other WAY aroundQuote from: BatchFileBasics on September 13, 2009, 04:22:08 PM bill you are just being rude and humorless. and weird, i thought code is for use. not the other way around I agree with both parts of the above, but I suppose Billrich raises a point that needs answering, even if only to demolish it. I always thought of this forum as a help forum where people post a question and other people suggest solutions. If I answer in a thread I therefore suggest bits of code which I have tried out which do the job. The code I post is not primarily intended as a teaching aid or an educational resource. Although batch coding is not rocket science!!! If it is "difficult to decipher" then I would suggest more study is needed. Quote You code is very compact and efficient. I take that as a compliment; I don't see the point of adding lines that aren't needed, just because some folks find terse code frightening, although I will break code down and explain it step by step if asked, and if I have the time.S.T. wrote: Quote I don't see the point of adding lines that aren't needed, just because some folks find terse code frightening, although I will break code down and explain it step by step if asked, and if I have the time. S.T. is such a nice guy. S.T. not only helps the original poster but all the new readers and students. And S.T. is so humble.Quote from: BatchFileBasics on September 13, 2009, 04:22:08 PM bill you are just being rude and humorless. and weird, i thought code is for use. not the other way aroundcode is for use AND be maintained. when you maintain code, its best that code is readable and understandable without having to spend 10 minutes finding out what one expression means. |
|