Page 1 of 1

Running a Program During Transfer

PostPosted: Tue Sep 14, 2004 1:44 pm
by NACarter
Hi,

I have just tried running a script with the latest shareware version. If I use the %D option to pass all created directories to my script I cannot easily decipher the arguments if the directory names contain spaces (they appear to be separate arguments in my script). Would it be possible to have the option of adding quotation marks around each directory name?

Thanks.
Nick

Found Answer

PostPosted: Tue Sep 14, 2004 2:01 pm
by NACarter
I've answered this myself. I had been filling the run program dialog box incorrectly:

Program or script: wscript.exe
Arguments: "myscript.wsf" "%D"

If you use the following though it works:

Program or script: myscript.wsf
Arguments: %D

Nick

PostPosted: Tue Sep 14, 2004 2:24 pm
by nabocorp
Yes you answered it yourself. In any case, each filename/directory name is enclosed in double quotes.

Regards,
nabocorp