I've had it running on Win 7 RC (the release candidate) until
yesterday.  Now it's on Win 7 Home Premium RTM.

I wonder if the permissions between RC and RTM are different?


-----Original Message-----
From: Judah McAuley [mailto:ju...@wiredotter.com] 
Sent: Tuesday, March 02, 2010 12:30 AM
To: cf-talk
Subject: Re: Why, oh why won't my batch file run via cfexecute?


Was this working on Win 7 before or was it on a previous version of
Windows, say XP? Because Windows 7 has permissions locked down much
more tightly than XP did and I've seen issues reported as "can't find
something" when it really means "I'm not allowed to look at it".
Also, can you get any .bat files to run from cfexecute or is it only
this bat file? Is this bat file on a local drive or a maped/unc drive?

Judah

On Mon, Mar 1, 2010 at 9:23 PM, Rick Faircloth <r...@whitestonemedia.com>
wrote:
>
> Thanks for the tip, Dave, but it didn't help...
>
> I tried:
>
> <cfexecute name           =  "c:\windows\system32\cmd.exe"
>           arguments      =  "/c
>
/#expandPath('/real_estate_data/hmls/10_hmls_batch_files/load_hmls_active_ph
> otos.bat')#"
>           timeout        =  "100"
>           errorVariable  =  "errorVariable" />
>
> And, I tried leaving off the /c in the arguments...that didn't help.
> I also tried hard coding the .bat path...no good.
>
> At least now I'm getting a different error, but can't figure out
> what to change to make things work:
>
> errorVariable returns as "The filename, directory name, or volume label
> syntax is incorrect."
>
> I can't figure out what that error is referencing.
>
> Did I use cmd.exe properly?
> Are the arguments set up properly?
>
> I tried every variation I could think of.
>
> Rick
>
> -----Original Message-----
> From: Dave Watts [mailto:dwa...@figleaf.com]
> Sent: Monday, March 01, 2010 11:03 PM
> To: cf-talk
> Subject: Re: Why, oh why won't my batch file run via cfexecute?
>
>
>> However, when I try to use.
>>
>> <cfexecute name               =
>>
>
"#expandPath('/real_estate_data/hmls/10_hmls_batch_files/load_hmls_active_ph
>> otos.bat')#"
>>                        arguments     =  "/c"
>>                        timeout           =  "5000">
>> </cfexecute>
>
> What happens if you run cmd.exe using your batch file as an argument?
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
> http://training.figleaf.com/
>
> Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
> GSA Schedule, and provides the highest caliber vendor-authorized
> instruction at
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331238
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to