Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
thefeduke
- Posts: 211
- Joined: 05 Apr 2015 13:06
- Location: MA South Shore, USA
#31
Post
by thefeduke » 15 Jul 2016 11:29
balubeto wrote:Almost perfect.
Why the script never ask you to enter the name (with its extension) of esd files?
Thanks. The esd file must exist to do the run, so I look for it. If I find only one esd input file in the esd directory, I did not see a reason for you to type it and loop until you got it right. If you add any other file to the esd folder, you will see different behavior and can do all of the typing you wish.
I also had a check for a empty file that I can add later.
Please, If you reply using 'quote', do some pruning and cut something out before submitting. This will save space in the forum and our browsing time. Too many copies of the same code in the topic.
Cheers,
John A.
-
balubeto
- Posts: 136
- Joined: 08 Dec 2011 12:14
#32
Post
by balubeto » 15 Jul 2016 11:46
thefeduke wrote:balubeto wrote:Almost perfect.
Why the script never ask you to enter the name (with its extension) of esd files?
Thanks. The esd file must exist to do the run, so I look for it. If I find only one esd input file in the esd directory, I did not see a reason for you to type it and loop until you got it right. If you add any other file to the esd folder, you will see different behavior and can do all of the typing you wish.
I also had a check for a empty file that I can add later.
Please, If you reply using 'quote', do some pruning and cut something out before submitting. This will save space in the forum and our browsing time. Too many copies of the same code in the topic.
Cheers,
John A.
How do I add this request assuming that the file is also located in a different directory?
Thanks
Bye
-
thefeduke
- Posts: 211
- Joined: 05 Apr 2015 13:06
- Location: MA South Shore, USA
#33
Post
by thefeduke » 15 Jul 2016 13:31
balubeto wrote:How do I add this request assuming that the file is also located in a different directory?
I have little idea what 'this request' means.
One file in two directories? You want to pick a file in a different directory after you have picked the esd directory? Then go back to the beginning and pick the esd directory that you wanted in the first place.
You have, however, pointed out the need for final approval to abandon the run after presenting the findings. That fits in just before the point where your code actually creates data.
John A.
-
foxidrive
- Expert
- Posts: 6031
- Joined: 10 Feb 2012 02:20
#34
Post
by foxidrive » 16 Jul 2016 04:48
Thread is locked. Having no information about the task just wastes people's time.
See here:
viewtopic.php?f=3&t=6108balubeto, good manners don't cost anything either.
Take a look through here and see how many times people replied to you with code and count how many times you said thank you.
search.php?author_id=2929&sr=postsEDIT: Maybe it's the frustration of balubeto not supplying information in this and other threads when it was asked for by me and other people that riled me, as he used the word thanks quite often.
balubeto dislikes the way I needled him several times and so he ignored my answers in different threads, and I can understand that, but he has a poor level of understanding of how the code is often related to the task and this thread is three pages long already and there was no end in sight.
-
foxidrive
- Expert
- Posts: 6031
- Joined: 10 Feb 2012 02:20
#35
Post
by foxidrive » 17 Jul 2016 12:01
balubeto I owe you an apology for needling you and I will do my best to avoid doing that in future, however read my edited post above and try to understand that reliable and effective batch scripts are usually written around the task.