时间:2021-07-01 10:21:17 帮助过:6人阅读
import os com1 = 'net use \\\\192.168.0.90\\ipc$ PPss01!123/user:administrator' os.system(com1) com2='net time \\\\192.168.0.90 /set /yes ' os.system(com2) com3='pause' os.system(com3)
import os
com1 = 'net use \\\\192.168.0.90\\ipc$ PPss01!123/user:administrator'
os.system(com1)
com2='net time \\\\192.168.0.90 /set /yes '
os.system(com2)
com3='pause'
os.system(com3)