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

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

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

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

Re: Execute a batch file with CFEXECUTE

2007-06-20 Thread Ian Skinner
The default configuration of ColdFusion does not have any permissions to network resources outside the server. By default ColdFusion is configured to run under a local system user in the Windows Services panel. If CF needs permissions to resources outside the local server it needs to be

Re: Execute a batch file with CFEXECUTE

2007-06-20 Thread Judah McAuley
I haven't done exactly what you are attempting to do, but we move files over to our db server for bulk insert using cffile and UNC paths. So you would use a cffile call with the action move and the destination \\{db ip}\{share}\ The big gotcha (and possibly what's wrong with your current

RE: Execute a batch file with CFEXECUTE

2007-06-20 Thread Mark A Kruger
a UNC path as in\\db_servername\sharename\somefile.txt. It's not as complicated as it sounds :) -Mark -Original Message- From: Calvin Trinh [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 20, 2007 11:09 AM To: CF-Talk Subject: Re: Execute a batch file with CFEXECUTE I'm able

RE: Execute a batch file with CFEXECUTE

2007-06-20 Thread Mark A Kruger
:09 AM To: CF-Talk Subject: Re: Execute a batch file with CFEXECUTE 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

RE: Execute a batch file with CFEXECUTE

2007-06-20 Thread Leitch, Oblio
, June 20, 2007 12:10 PM To: CF-Talk Subject: Re: Execute a batch file with CFEXECUTE 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

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

Re: Execute a batch file with CFEXECUTE

2007-06-13 Thread Nathan Strutz
That's kind of strange - I haven't had any problems doing this. In fact, I made a shortcut function to run batch files for me: cffunction name=executeBatchCommands output=true access=public returntype=void cfargument name=batchCommands type=string required=true hint=Pipe-delimited or

RE: Execute a batch file with CFEXECUTE

2007-06-12 Thread Ben Forta
Run cmd.exe and pass the batch file to it, see http://www.forta.com/blog/index.cfm/2006/7/31/Using-CFEXECUTE-To-Execute-Com mand-Line-Utilities. --- Ben -Original Message- From: Calvin Trinh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 12, 2007 1:30 PM To: CF-Talk Subject: Execute a