> Can CFexecute run a batch file on a remote drive? If I were 
> to map a remote drive as z:\, can I just use the following?
> 
> <cfexecute name="z:\windows\psexec.exe" 
>        timeout="30"
>        arguments="\\10.100.50.119 -u user1 -p testpsw 
> C:\Fcidata\fciprod\scpt_bat\MatchStart.bat”>
> </cfexecute>

Since CF runs as a service using a different user account than you're using,
it won't see the drive mapping you create. Also, by default, the service
account doesn't have rights to network shares. So, you'll have to configure
to run as a user with the appropriate rights. You can just use UNC paths
instead of drive mappings once you change the CF user account.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
http://training.figleaf.com/

WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
http://www.webmaniacsconference.com/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298664
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