K
kk.simhadri
Hi everybody,
I want to run a bat file which is on different PC in the same network.
I am able to run a batch file in my PC through the following code
<%
set wshell = CreateObject("WScript.Shell")
wshell.run "c:\file.bat"
set wshell = nothing
%>
but if I change the path to some network ,like
<%
set wshell = CreateObject("WScript.Shell")
wshell.run "\\10.101.xx.xxx\folder\file.bat"
set wshell = nothing
%>
the code is not working.
Does anybody have an idea on how to run the batch file in network
through ASP?
Any help would be appreciated.
I want to run a bat file which is on different PC in the same network.
I am able to run a batch file in my PC through the following code
<%
set wshell = CreateObject("WScript.Shell")
wshell.run "c:\file.bat"
set wshell = nothing
%>
but if I change the path to some network ,like
<%
set wshell = CreateObject("WScript.Shell")
wshell.run "\\10.101.xx.xxx\folder\file.bat"
set wshell = nothing
%>
the code is not working.
Does anybody have an idea on how to run the batch file in network
through ASP?
Any help would be appreciated.