Re: Execute a batch file with CFEXECUTE

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.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Execute a batch file with CFEXECUTE

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.

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281660
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.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


Re: Execute a batch file with CFEXECUTE

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.

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Execute a batch file with CFEXECUTE

2007-06-12 Thread Calvin Trinh
Hello,

Is it possible to use CFEXECUTE to excute a batch file?

I'm trying to use the CFEXECUTE to execute a batch file i created to copy a 
file from one location to another.  It does not work when I use CFEXECUTE to 
run batch file.  Any assistance will be helpful.  thanks

Here is my code.




Here is my batch file

net use z: \\112.5.6.40\d$ /user:admin pass4u
copy D:\cme\cmecredits.txt z:\tmp
net use z: /delete

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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