Re: cfexecute batch file not working

2008-08-12 Thread Jochem van Dieten
Marcus Goedeker wrote: I have a very simple batch file that i can run fine on its own, but can't seem to get it to work using cfexecute. I used cfexecute a couple years ago and had no problems, but i can't seem to get it to work with this particular batch file. The cfexecute code is very

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Try: cfexecute name=c:\windows\system32\cmd.exe arguments=c:\test.bat outputfile=c:\output.txt / Jochem Thanks for the reply. I tried it and it doesn't work. It doesn't output anything in the file either. Marcus

RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Is CF logged in as a service or a user? -Original Message- From: Marcus Goedeker [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 14:42 To: CF-Talk Subject: Re: cfexecute batch file not working Try: cfexecute name=c:\windows\system32\cmd.exe arguments=c:\test.bat outputfile=c

Re: cfexecute batch file not working

2008-08-12 Thread Claude Schneegans
I have a very simple batch file Don't forget that the default directory used by the bat file is not the one the bat file resides, but the on from which it is run. In this occurrence, it is the CF directory. Then you may have to set the working directory from inside the bat file itself. --

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Is CF logged in as a service or a user? Thanks for the reply. I tried it and it doesn't work. It doesn't output anything in the file either. Marcus A service. ~| Adobe® ColdFusion® 8 software 8 is the most important and

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
I have a very simple batch file Don't forget that the default directory used by the bat file is not the one the bat file resides, but the on from which it is run. In this occurrence, it is the CF directory. Then you may have to set the working directory from inside the bat file itself. --

RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Did you try it logged in as Admin? -Original Message- From: Marcus Goedeker [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 15:25 To: CF-Talk Subject: Re: cfexecute batch file not working Is CF logged in as a service or a user? Thanks for the reply. I tried it and it doesn't work

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
Did you try it logged in as Admin? A service. Yes, i am the admin. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j

Re: cfexecute batch file not working

2008-08-12 Thread Marcus Goedeker
One thing i have noticed is that the output file has a line break before and after the actual command output. I don't think this would make a difference, but I guess you never know. ~| Adobe® ColdFusion® 8 software 8 is the

RE: cfexecute batch file not working

2008-08-12 Thread Craig Dudley
Umm, just to be clear, I meant with Coldfusion logged in as Administrator, not sure if it will help but it certainly might. -Original Message- From: Marcus Goedeker [mailto:[EMAIL PROTECTED] Sent: 12 August 2008 16:20 To: CF-Talk Subject: Re: cfexecute batch file not working Did you

Re: cfexecute batch file not working

2008-08-12 Thread Chris Blackwell
have you tried setting a timeout for the cfexecute ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive:

cfexecute batch file not working

2008-08-11 Thread Marcus Goedeker
I have a very simple batch file that i can run fine on its own, but can't seem to get it to work using cfexecute. I used cfexecute a couple years ago and had no problems, but i can't seem to get it to work with this particular batch file. The cfexecute code is very simple...cfexecute