View Single Post
  #6  
Old 09-03-2004, 01:35 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,032
The reference to the Run Program Action help topic was only pointing out where to look for a more detailed explanation of how to invoke batch files from a Run Program Action or RunProgramEx.

The permission denied / access error is most likely occurring because you aren't invoking the batch file like you need to, leading to an error which prevents the .Close code from being executed. Again, try:

DosCmd = "%DOSCMD% call """ & BatFile & """"

instead of

DosCmd = BatFile

in your script code.
Reply With Quote