Jerry's answer might very well be what is causing the problem. You might solve it by changing. for %%s in (*.sql) do call. to. for %%s in (dir"*.sql ...
Use start instead: start "" "command here". Edit: Do not miss the first pair of empty quotes, this is the title of the process/window. start
Although, as you pointed out, the sorting order in for /d is undocumented and, as Mofi points out in the comments, doesn't always order by name, but in an NTFS ...
In Windows, the batch file is a file that stores commands in a serial order. Command line interpreter takes the file as an input and executes in ...
In order to start it, the WIN command was used, which could be added to the end of the AUTOEXEC.BAT file to ...
Batch file. Batch files allow MS-DOS and Microsoft Windows users to write a series of commands to run in order upon their execution for ...
This command also displays the total number of files and directories listed,
On Windows 10, a batch file is a special text file that typically has a .bat
Reference article for the sort command, which reads input, sorts data, and
The default Sort Order, if you don't specify anything with /O, on an NTFS drive will be in sort-of-alphabetical ...