This electron-app has only one button, clicking on that button will execute the following 3 commands to trigger the opening of the shared folder
net use * /delete
net use \\\share.yafex.cn /user:mycompany\username password
explorer.exe \\\xxx.xxx.cn\share
Then the win10 system gets stuck, causing other apps to lag and not open either
Guys, is there any possible reason for this?
But when I don't use electron-app, but directly use cmd to execute these three commands directly in win10 system, this won't happen.