Click here to Skip to main content
15,888,984 members

Comments by l o o l (Top 19 by date)

l o o l 5 days ago View    
Yes, you can! `Start "" /b /d "C:\FullPath\To" "Console.exe"`
l o o l 24-Apr-24 6:59am View    
Are you sure you say that? You may know (or not vbs) and through hybrid bats and calls in /Background, your statements do not reflect what the execution flow allows, besides advancing to the next line and at the same time waiting for a key to be pressed. But you must also know that this is possible, or don't you?
l o o l 24-Apr-24 6:55am View    
I wouldn't say that, because there is an option to call any executable in /Background, where the script continues. But you must know this, or don't you?
l o o l 24-Jan-24 8:17am View    
"Windows Batch is different from Linux shell scripts and has been replaced by Powershel"

No, Windows Batch was not replaced by PowerShel, the two coexist, although there are practices of forcing, pushing the migration to PowerShell, and a consequent statement pointing to "abandon" batch, batch (and the command interpreter "cmd. exe") is present in all current versions of Windows.
l o o l 14-Jan-22 13:48pm View    
you can do this more easily by changing your `for` to a `for /f` without using the `if()else()`, and the `findstr|find` errorlevel is related to the search task not its result...