Re: Execute a batch file with CFEXECUTE but nothing happened

2007-06-20 Thread Carl Von Stetten
> I'm able to execute the batch file now but nothing happen. It seems 
> like Coldfusion server doesn't allow me to map a shared drive on 
> another server.  What I want to do is to copy a file on the coldfusion 
> server to my database server.  I created a batch file to map the 
> shared drive on my DB server and copy the file over to my DB server.  
> Unfortunately, that didn't happen the way I intended to be.  So, I 
> just want to ask is it coldfusion not allowing to map a drive in the 
> code or am I missing something.  This is driving me insane.
> 
> Thanks for the reply.

You should be able to reference UNC paths in your batch file, in lieu of mapped 
drives.  Assuming you are running ColdFusion on a Windows server, and that the 
account that the ColdFusion service is running under has been granted 
priveledges on the remote server, it should work fine without mapping a drive.

~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281684
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Execute a batch file with CFEXECUTE but nothing happened

2007-06-20 Thread Calvin Trinh
I'm able to execute the batch file now but nothing happen. It seems like 
Coldfusion server doesn't allow me to map a shared drive on another server.  
What I want to do is to copy a file on the coldfusion server to my database 
server.  I created a batch file to map the shared drive on my DB server and 
copy the file over to my DB server.  Unfortunately, that didn't happen the way 
I intended to be.  So, I just want to ask is it coldfusion not allowing to map 
a drive in the code or am I missing something.  This is driving me insane.

Thanks for the reply.

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281654
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4