| 1. |
Solve : Batch to list files modified today in text file.? |
|
Answer» Can anyone tell me what the batch file command(s) are to write a list of all "*.doc" modified today to a text file. Any help would be greatly appreciated.Is this your homework? ghostdog, he wrote he didn't want anyone to write him a batch file without trying it himself, so what do you do? Write him a vbs script!any problem with that? i did not write a batch for him, did i? you have already provided him guidance, so i guess he will try to do the batch himself. there are many ways to solve a problem, i am just showing him some other ways. Somebody may COME in and do a Perl script for him, who knows?... if he wants to stick with batch, that's entirely up to him. Quote Is there any situation in life that does not prompt you to churn out a vbs script and post it?1) when i am unhappy 2) when i am busy 3) when i don't feel like it. this is a public forum, what i post are valid suggestions/solutions that may/or may not solve the problem, as long as i don't violate posting rules (or be rude to people and get banned). You can't stop me from posting just because you feel you don't like it. Just like i can't stop you from asking people "is this homework" everytime someone does that, right?.Sorry, Ghostdog, for being testy with you. I had just got up! Actually that is a very interesting VBscript you contributed. Quote from: contrex on October 02, 2007, 02:00:27 AM Sorry, Ghostdog, for being testy with you. I had just got up! Actually that is a very interesting VBscript you contributed.hey..no problem the script follows the method you posted. I was able to write a batch file to do it, but I am always interested in learning new way to do things. Thanks to both of you for your help. I thought about trying vbscript but I would be totally lost on that, so maybe I will try it after I get my batch files working without needing daily input from me (which I am almost there thanks to contrex's help). Thanks again, Psycho DanI think you will be using delayed expansion inside the loop Contrex I am a newbie to this myself but I have noticed that you tend to have an "I really cant be arsed with helping but !! I will, under duress attitude" and then you can can be quite helpful are you manic depressive. Cos it really doesn't help when u dont know what your doing then some one makes you feel moronic for asking. So lighten up we aint all "au fait" with this and we dont want to be hand held just pointed in the right direction Quote from: w33man on October 05, 2007, 08:26:55 AM Contrex I am a newbie to this myself but I have noticed that you tend to have an "I really cant be arsed with helping but !! I will, under duress attitude" and then you can can be quite helpful are you manic depressive. w33man, thank you for your interest in my mental health. Comment how you like about the ACCURACY or otherwise of my answers. It's a free forum. Catch me out in an error - great. The truth is served. Answer a question better, more fully, more helpfully than me - fantastic! Way to GO! But - consider the ratio of 7:1882. That is how much weight I attach to your opinion about my attitude and personal style. Well, rather less actually. Sorry but there it is. (Paraphrase: go pound sand.) |
|