Chris Thanks for the email
"''" doesn't work because CF is stripping out the double quotes and it ends up only passing in the single quotes which are invalid for arguments in a bat file. That seems to be the issue. I pass in "" and instead of CF passing in the arguments with the quotes around them it takes them out and you end up with arguments that don't have quotes in them. For example.. arguments='"this is an argument"' That is one argument. Instead of CFEXECUTE treating it as one argument, it strips out the double quotes before it passes it to the bat or exe and it ends up being 4 arguments that get passed to the bat/exe file. I noticed this with other arguments which is why I mention it now as it is the cause of this issue. -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: Tuesday, 23 September 2008 12:27 PM To: [email protected] Subject: [cfaussie] Re: CFEXECUTE and empty arguments On Tue, Sep 23, 2008 at 12:11 AM, Steve Onnis <[EMAIL PROTECTED]> wrote: > I am trying to trigger a BAT file process using CFEXECUTE but for some > reason it will not accept my empty arguments into the process. > > I can pass arguments='"arg1" "arg2" "" "arg3"' > > But it seems to ignore the empty argument which I need it to pass to > the BAT file Try passing "''", otherwise change the .bat file or create a another .bat and have it call the original .bat file. Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney September meeting: It's Going To Be Brilliant Date: Mon 29th September 6pm for 6:30 start Details and RSVP on http://apugs2008september.eventbrite.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~----------~----~----~----~------~----~------~--~---
