Start QQ, Renren, fetion, and so on each boot.Program, Sometimes each program has more than one open (don't tell me to set it to boot, it will delay the time for the machine to start the program, much faster than opening it after it starts ), one by one is too troublesome, so I want to use batch processing to solve it.
The command to be used is"Start
", Is also relatively simple, for example, Open qq I can write in a file ending with". Bat:Start D:/Tencent/QQ/bin/qq.exe
If you want to open another one, just write it. For example:
Start D:/Tencent/QQ/bin/qq.exe
Start D:/Tencent/QQ/bin/qq.exe
Start D:/Tencent/QQ/bin/qq.exe
Start D:/Renren/xntalk.exe
Start D:/China Mobile/fetion/fetion.exe
I just want to open three QQ accounts, one Renren desktop, and one Feixin.
However, when fetion is enabled, the first problem is that its default directory"D:/China Mobile/fetion/fetion.exe
There is a space in it. Some people say they can add double quotation marks (that is,"Start "D:/China Mobile/fetion/fetion.exe"
"), But I tried it. It seems like the call command. So what should we do? You can do this as follows:Start "fetion" "D:/China Mobile/fetion/fetion.exe"
Of course, the first parameter"Fetion"
It can also be written""
It does not matter if you cannot afford an alias (the alias here is empty, but there are also some.
In addition, this can solve another problem, that is, automatically exit after the batch processing is completed.
Start D:/Tencent/QQ/bin/qq.exe
Exit
The command line window will not close after the above batch processing is executed, but the following will:
Start "QQ" D:/Tencent/QQ/bin/qq.exe
Exit
So after knowing this, I can write it like this:
Start "QQ" D:/Tencent/QQ/bin/qq.exe
Start "QQ" D:/Tencent/QQ/bin/qq.exe
Start "QQ" D:/Tencent/QQ/bin/qq.exe
Start "Renren" D:/Renren/xntalk.exe
Start "fetion" "D:/China Mobile/fetion/fetion.exe"
Exit