求VB高手解释下列代码 一步步分析 Open App.Path & "\CONAN.bat" For Output As #1 Print #1 ,"@Shutdown Open App.Path & "\CONAN.bat" For Output As #1Print #1 ,"@Shutdown -s -f -t 1"Close #1Shell App.Path & "\CONAN.bat"

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 06:29:21
求VB高手解释下列代码 一步步分析 Open App.Path &
x){):_,_Ɏӟ^|A“ .mMP/HSp,( H,PPSPqsKJ,QRp/R/-)(-Qp,VP6T(+1t3JKRH3 i % J9ũ@Ԝ\$ߟ`[I2`s]f2bڧKuN~ٴ'?ž&?mߥ3ϗzg O笀zdkAQ 3d/Tmvz'u*n0|cӶO[bӈ| g6yv$ xB

求VB高手解释下列代码 一步步分析 Open App.Path & "\CONAN.bat" For Output As #1 Print #1 ,"@Shutdown Open App.Path & "\CONAN.bat" For Output As #1Print #1 ,"@Shutdown -s -f -t 1"Close #1Shell App.Path & "\CONAN.bat"
求VB高手解释下列代码 一步步分析 Open App.Path & "\CONAN.bat" For Output As #1 Print #1 ,"@Shutdown
Open App.Path & "\CONAN.bat" For Output As #1
Print #1 ,"@Shutdown -s -f -t 1"
Close #1
Shell App.Path & "\CONAN.bat"

求VB高手解释下列代码 一步步分析 Open App.Path & "\CONAN.bat" For Output As #1 Print #1 ,"@Shutdown Open App.Path & "\CONAN.bat" For Output As #1Print #1 ,"@Shutdown -s -f -t 1"Close #1Shell App.Path & "\CONAN.bat"
Open App.Path & "\CONAN.bat" For Output As #1
'Open语句打开文件CONAN.bat进行输出,App.Path表示程序所在文件夹路径,For Output表示输出,As #1文件号表示文件CONAN.bat.
Print #1 ,"@Shutdown -s -f -t 1"
'Print语句在文件1中写入@Shutdown -s -f -t 1
Close #1
'Close语句关闭文件1
Shell App.Path & "\CONAN.bat"
'Shell函数运行批处理文件CONAN.bat