This is because of double quotes. You should change it to either Run ( "c:\bin\make.bat @DP\"yyddmm\"", "c:\bin", process_id) or Dim( command, string ) Concat( "c:\bin\make.bat ", @DP"yyddmm", command ) Run( command, "c:\bin", process_id ) : Run ( "c:\bin\make.bat @DP"yyddmm"", "c:\bin", : process_id) : should be allowed, however, when i try to validate the syntax, : i get a "Bad number of arguments". FYI, if i just dump a @W in : there : it'll work fine. : -tom
|