Running a Program During Transfer

the software that eases your everyday life with your digital pictures

Running a Program During Transfer

Postby NACarter » Tue Sep 14, 2004 1:44 pm

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
NACarter
 
Posts: 65
Joined: Wed Oct 15, 2003 7:38 pm
Location: Romsey, UK

Found Answer

Postby NACarter » Tue Sep 14, 2004 2:01 pm

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
NACarter
 
Posts: 65
Joined: Wed Oct 15, 2003 7:38 pm
Location: Romsey, UK

Postby nabocorp » Tue Sep 14, 2004 2:24 pm

Yes you answered it yourself. In any case, each filename/directory name is enclosed in double quotes.

Regards,
nabocorp
nabocorp
Site Admin
 
Posts: 627
Joined: Thu Nov 07, 2002 6:46 pm


Return to cam2pc

Who is online

Users browsing this forum: No registered users and 250 guests

cron