Program:
rasdial 连接 name username password
The internet access in the internet cafe is to be changed from shared access to PPPOE dial-up access, but it is a heavy workload to change the username and password for each computer one by one. I hope to use a batch script to solve this. The router I use is ros, and the username and password can be set by myself. I don't want to use the same user to connect, but want each computer to use a different user to connect. Originally, I wanted to use %computername%, but this command rasdial doesn't support it. I don't know if there are other methods to make this command support variables...
rasdial 连接 name username password
The internet access in the internet cafe is to be changed from shared access to PPPOE dial-up access, but it is a heavy workload to change the username and password for each computer one by one. I hope to use a batch script to solve this. The router I use is ros, and the username and password can be set by myself. I don't want to use the same user to connect, but want each computer to use a different user to connect. Originally, I wanted to use %computername%, but this command rasdial doesn't support it. I don't know if there are other methods to make this command support variables...

