pyesnosky
March 10th, 2005, 09:48 PM
I'm using DL Pro and just upgraded to the latest version. I'm trying to run a batch file from the custom button in a way that is very similar to the tip that is in the FAQ. But, it isn't working for me.
If I put the following in the custom button command line:
C:\foo.cmd %d
I get the following error:
Error trying to execute command:
ENOENT: File or path not found
cmd:
arg0:
arg1: C:\foo.cmd
arg2: "this is filled with the download directory"
and of course the batch file does not start.
If I just press the custom button a second time, the same thing happens but the cmd: line and arg0: line are filled with garbage characters as if there is some pointer to nowhere problem or bad initialization of a variable, etc.
If I set up the exact same test, but leave off the %d, then the batch file executes properly. In other words:
C:\foo.bat
Does execute the batch file fine but of course is pretty useless because I need the directory parameter.
What am I missing? This is very simple and exactly like the FAQ.
I am running XP SP2 and the latest version of DL Pro.
Thanks,
Paul
If I put the following in the custom button command line:
C:\foo.cmd %d
I get the following error:
Error trying to execute command:
ENOENT: File or path not found
cmd:
arg0:
arg1: C:\foo.cmd
arg2: "this is filled with the download directory"
and of course the batch file does not start.
If I just press the custom button a second time, the same thing happens but the cmd: line and arg0: line are filled with garbage characters as if there is some pointer to nowhere problem or bad initialization of a variable, etc.
If I set up the exact same test, but leave off the %d, then the batch file executes properly. In other words:
C:\foo.bat
Does execute the batch file fine but of course is pretty useless because I need the directory parameter.
What am I missing? This is very simple and exactly like the FAQ.
I am running XP SP2 and the latest version of DL Pro.
Thanks,
Paul