7,763
社区成员
发帖
与我相关
我的任务
分享
dim s as string
dim job_name as String
dim filepath as string
job_name = "my job name"
filepath = "d:\1.pl"
s = "my $job_name;"
s = s & vbcrlf & "$job_name = " & job_name
open filepath for output as #1
print #1,s
Close #1
shell "X:\XXX\perl.exe " & filepath