|
最初由 Yong Huang 发布
[B]
If you type start /? in DOS, you'll see all the switches (options). /b means run the command following it (sqlplus) in background. Without using this trick, you would open a few hundred DOS windows. With this trick, you still launch that many sqlplus processes but save on memory usage by avoiding GUI part of DOS window memory.
Create a file mytest.bat and in it, write
start /b sqlplus username/password
start /b sqlplus username/password
start /b sqlplus username/password
...
Then type mytest in DOS.
Yong Huang [/B]
c:\>cat d:\a.bat
for /L %%G in (1,1,5) do start /b sqlplus /nolog |
|