Ask a Question related to ASP, Design and Development.
-
Josh #1
Run BAT file with ASP script [ERROR]
Here is the code in ftpRun.asp:
<%
set wshell = server.createobject("wscript.shell")
wshell.run "D:\Inetpub\wwwroot\new\josh\OFP
5995A\consistency\ftpRun.bat"
set wshell = nothing
Response.Write "Files Updated Successfully!"
%>
Here is the error I get when I run ftpRun.asp:
error '80070483'
No application is associated with the specified file for this
operation.
/new/josh/ofp 5995a/consistency/ftpRun.asp, line 4
Any ideas how to fix it? Any other ways to accomplish the same goal
on a NT4.0 machine without adding components?
Thanks,
Josh
Josh Guest
-
"unable to open script file 'mm_findObj.js (error 3)
I have started getting the above error message now ive started developing ASP pages. I set restricted access to pages- but no matter what I... -
"Unable to open script file 'MM_findObj.js' (error 3)"
Having started with ASP pages, I get this error message "Unable to open script file 'MM_findObj.js' (error 3)" when i goto the behaviours menu, or... -
PHP posting script, file updated but web still shows last night's file
I wrote a PHP script that allows me to post HTML entries to files on my server without going through FTP, yadda yadda. It works fine, and last night... -
OT:Unable to open script file P7_u1CMenu.js (error 2)
I keep getting this error when I merge <td>'s on a table. It will work but I get this repeated message for each of the cells I try and merge.... -
Problem executing a BAT file (or EXE file) using Perl as CGI script under Apache.
I have developed some perl code to run as a script under Windows 2000 running apache. This works GREAT on Win2k but on WinNT, perl is simply... -
Ray at #2
Re: Run BAT file with ASP script [ERROR]
That's odd.
Try executing this at the command prompt on your server:
assoc .bat=batfile
Also, when you execute that, you can do:
"cmd.exe /c D:\Inetpub\wwwroot\new\josh\ofb5995A\consitency\ft pRun.bat"
Ray at work
"Josh" <joshfeingold@hotmail.com> wrote in message
news:77f547b5.0310230824.1b618293@posting.google.c om...> Here is the code in ftpRun.asp:
>
> <%
> set wshell = server.createobject("wscript.shell")
> wshell.run "D:\Inetpub\wwwroot\new\josh\OFP
> 5995A\consistency\ftpRun.bat"
> set wshell = nothing
> Response.Write "Files Updated Successfully!"
> %>
>
> Here is the error I get when I run ftpRun.asp:
>
> error '80070483'
> No application is associated with the specified file for this
> operation.
> /new/josh/ofp 5995a/consistency/ftpRun.asp, line 4
>
> Any ideas how to fix it? Any other ways to accomplish the same goal
> on a NT4.0 machine without adding components?
>
> Thanks,
> Josh
Ray at Guest



Reply With Quote

