set input=
set /p input=请输入姓名:
ipconfig /all > %input%.txt
net use m: \\IP\目录
copy %input%.txt m:\目录
net use m: /del
用户输入文件名
ipconfig 获取相关信息的命令
net use 连接网盘
copy上传
/del 断开网盘
set input=
set /p input=请输入姓名:
ipconfig /all > %input%.txt
net use m: \\IP\目录
copy %input%.txt m:\目录
net use m: /del
用户输入文件名
ipconfig 获取相关信息的命令
net use 连接网盘
copy上传
/del 断开网盘