举报
#include <array.au3> Local $dirs[5] = ['c:\1', 'd:\2', 'e:\3', 'c:\4', 'd:\33'] Local $sequence = Number(StringRegExpReplace(@ComputerName, '\D', '')) If $sequence < UBound($dirs) Then MsgBox(0, '第 ' & $sequence & ' 台机器', '路径: ' & @TAB & $dirs[$sequence]) Else MsgBox(16, '第 ' & $sequence & ' 台机器', '此机器未设置好程序路径! ') EndIf
本版积分规则 发表回复 回帖后跳转到最后一页
|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度
GMT+8, 2025-3-7 04:26 , Processed in 0.092483 second(s), 23 queries .
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.