好的,现在已经解决[以某种方式]
我正在做的是将文件位置参数传递给.bat文件
所以我有我的.bat文件OracleSQL.bat,其中包含以下代码:
@echo off sqlplus username/password@serverlocation.com @%1 exit;
我现在可以使用file参数发送到批处理文件:
Dim strBatchName As String strBatchName = "C:\location\of\bat\OracleSQL.bat Z:/aFolder/aScript.sql" Shell strBatchName
完成:)
试过引用路径?
WShell.Run "sqlplus username/pass...@serverlocation.com """ & _ strFilePath & """"