Search found 458 matches

by misol101
24 Jun 2016 16:23
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

...the issue you see on the first command in the initial question is with Chrome. If you try the same thing with Firefox it will release the batch script and is what all multi-threaded GUI programs should do. Agreed, they really should! The issue is within my listb file explorer though, so I can't ...
by misol101
24 Jun 2016 15:31
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

foxidrive wrote:
misol101 wrote:Case (5): A new cmd window is opened, and nothing else happens (why is it like this?)

This is what is in your question and what I was addressing.


Ok, that was a side question, not the main one. But agreed, you did answer that. Thank you.
by misol101
24 Jun 2016 15:25
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

This is a longish thread - but in essence the batch will stop because it is missing "" after the start keyword. No, surprisingly it runs as expected, the problem is another (as the thread explains). (though I have learned from this thread that the first argument to "start" shoul...
by misol101
24 Jun 2016 14:58
Forum: DOS Batch Forum
Topic: Listb - a file explorer/viewer inside the console window
Replies: 27
Views: 114902

Re: Listb - a file explorer/viewer inside the console window

Whoops, the link in the first post was not pointing to the new archive. Fixed now!

If you tried to download listb.zip (or gotoxy.zip) earlier today and didn't see the expected dividing lines, please re-download.
by misol101
24 Jun 2016 14:43
Forum: DOS Batch Forum
Topic: Listb - a file explorer/viewer inside the console window
Replies: 27
Views: 114902

Re: Listb - a file explorer/viewer inside the console window

Alright, one more update. Keep thinking it's the last one. Probably not I guess If files/folders are too long for their column, this is now marked at the end of the name with a ~ character. Also, I decided to turn on dividers in listb.bat (I got used to them now ). This means it's the opposite now t...
by misol101
24 Jun 2016 12:12
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

If anybody could reveal the mysteries of /B switch, that would be greatly appreciated too An example, banana.bat: :LOOP echo Banana goto LOOP start /B "" "banana.bat" As expected from the "start" documentation, Ctrl-C does not work to break. I press Ctrl-Break, the prog...
by misol101
24 Jun 2016 11:43
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

aGerman wrote:What happens if you only close the tab with your html file instead of the whole Chrome window?


Nothing, the cmd window is frozen.
by misol101
24 Jun 2016 11:00
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

You cannot change from running an external executable to running a batch file by file association and expect the advice to match your original posts and their responses! Sorry, I have probably been unclear. I tried to "simplify" things at the start, probably a bad idea I'll try again: I h...
by misol101
24 Jun 2016 10:42
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

And using start /B (which I did in case 7 above) has side effects (for console programs/bat files), such as the program running no longer listening to key input [7] however ran cmd.exe with a command parameter and didn't include the additional empty doublequotes True, but doing it your way (as in [...
by misol101
24 Jun 2016 10:30
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

So to explain: I do *not* want to run the program asynchronuously. What I want is how I *thought* "call" or "cmd /C" would behave, i.e. run the program, and whenever it quits, resume batch operation. The problem is that after Chrome quits, the batch file for some reason is still ...
by misol101
24 Jun 2016 10:27
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

As already answered start /b "" "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" [8] start /b "" "%Program Files(x86)%\Google\Chrome\Application\chrome.exe" [9] start /b chrome.exe [11] What I mean is, if I run e.g: start /b "" "wh...
by misol101
24 Jun 2016 10:07
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

It MUST be normal behavior that calling an external programm blocks the batch execution. Think about command tools like findstr.exe or choice.exe. They would be completely useless otherwise. Of course, but when the external program quits, the batch execution should resume, right!? That's what was n...
by misol101
24 Jun 2016 09:52
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Re: Programs blocking the current shell

8, 9 and 11 all have the same behaviour: No new window opens, No more freeze! Still, every second time I run Chrome, nothing happens. But the freeze is gone, thanks! (10 produced a faulty line) Not sure I get what's going on here. Unfortunately it's still not quite what I want, because when I use th...
by misol101
24 Jun 2016 09:30
Forum: DOS Batch Forum
Topic: Programs blocking the current shell
Replies: 41
Views: 9310

Programs blocking the current shell

I have run into something confusing. Some programs, when run from a batch program, seems to block forever, even after the program quits! I am then forced to close down the cmd window, Ctrl-C/Z/break do not work. For me, this seems to be the case with Chrome. I don't know if it's the same with all ve...
by misol101
24 Jun 2016 08:55
Forum: DOS Batch Forum
Topic: Listb - a file explorer/viewer inside the console window
Replies: 27
Views: 114902

Re: Listb - a file explorer/viewer inside the console window

Archive updated, I have added dividing lines between columns. The lines are on by default if using the latest extendlistb.bat (when running l.bat), and off if using listb.bat only. If you have your own extendlistb.bat, you can turn on dividers by adding the following line after the label :SETCOLORS ...