Multiple windowsby lawgin (no login)If I use the code below to copy 25 files from one directory to another with qb4.5, it performs all 25 operations in the same CMD window. With qb64 the window is quickly opened and closed 25 times. Is there any way to get qb64 to use the same window? FOR n = 1 TO 25 SHELL "cmd /c copy c:\aaa\file" + LTRIM$(STR$(n)) + ".txt c:\bbb" NEXT |
| Response Title | Author and Date |
| * Not currently, but you could _HIDE it all. QB64 uses CMD /C already. | on Sep 21 |
| it would seem that it doesn't... | on Sep 22 |
| Seems to work faster too | lawgin on Sep 22 |
| you're right... | on Oct 5 |
| *write the copy commands to a bat file, then shell to the bat file. | on Sep 22 |
| I don't think that would work | lawgin on Sep 22 |
| Re: I don't think that would work | on Sep 22 |
| OK | lawgin on Sep 23 |
| * There is a way to do it all in a batch, but it isn't easy. | on Oct 5 |
| Re: * There is a way to do it all in a batch, but it isn't easy. | Naoto on Nov 5 |
| re: isn't easy? | on Apr 20 |