Re: Server.CreateObject("Wscript.Shell")



Its hard to run anything like that from a asp page for security reasons.

but you can do it from asp.net page
http://dev.thatsit.net.au/samples/aspnet/priveleges/default.aspx


"Tritt" <Tritt@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:4487BE29-7A19-40F7-8904-BDA4AD29B3EC@xxxxxxxxxxxxxxxx
I am having trouble executing a batch file from an asp page.

The batch file reads a text file that has all of the ftp commands to get a
file. When I run the batch manually everything goes great. When I try to run
it from script it fails.

It appears that I am having a permissions problem. Does anyone have a simple
asp page that shows how to accomplish this on Windows XP or Windows Server
2003?

I am guessing that WSH 5.6 has changed enough from the previous version to
cause me grief.


Thanks for any help.

.



Relevant Pages

  • Server.CreateObject("Wscript.Shell")
    ... I am having trouble executing a batch file from an asp page. ... The batch file reads a text file that has all of the ftp commands to get a ... asp page that shows how to accomplish this on Windows XP or Windows Server ...
    (microsoft.public.scripting.wsh)
  • Re: IIS6 freeze and restart without reason !!!
    ... Can you check on that -- but this change would result in no SQL ... It is not possible to upgrade from XP Pro to Windows Server 2003. ... I want to mean that the "page" freeze for few second and then work normally. ... is the page freezing when you interact with the ASP page to ...
    (microsoft.public.inetserver.iis)
  • Re: IIS 6.0 bottleneck when serving ASP pages
    ... I just finished migrating our web site to Windows server 2003 from Windows ... It consists of a mix of static html and .asp pages that mostly ...
    (microsoft.public.inetserver.iis)
  • Re: Updating to IIS 6 (Windows 2003)
    ... Windows Server 2003 completely supports old ASP, it just needs to be enabled ... I do not do technical support via email. ... > What kind of incompatibilities will it have with IIS 6.0 ...
    (microsoft.public.inetserver.iis)
  • Re: IIS6 freeze and restart without reason !!!
    ... I want to mean that the "page" freeze for few second and then work normally. ... The problem is present in asp web sites using Sql Server or MySql database. ... The common things that SQL & MySQL have, is that they use tcp port to ... > Obviously, it runs well on XP Pro, but when you move it to Windows Server ...
    (microsoft.public.inetserver.iis)

Loading