t1.vbs 内容如下:
neirong1= wscript.arguments(0)
neirong2= wscript.arguments(1)
msgbox neirong1+","+neirong2

t2.bat 内容如下:
@echo off
start t1.vbs "字符串1111" "字符串2222222"

pause

 


---------------------------------------------

bat获取当前目录

1.文件全路径:%~f0

2.仅仅目录:%CD%

例如bat所在目录下的1.txt 则是:%CD%\1.txt