Re: Server.CreateObject("Wscript.Shell")
- From: "ThatsIT.net.au" <me@work>
- Date: Mon, 3 Nov 2008 23:21:21 +0900
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.
.
- References:
- Server.CreateObject("Wscript.Shell")
- From: Tritt
- Server.CreateObject("Wscript.Shell")
- Prev by Date: Re: Folder Name Change
- Next by Date: Re: Access Denied Error -- Reading Text File in .BAT program
- Previous by thread: Server.CreateObject("Wscript.Shell")
- Next by thread: Re: Folder Name Change
- Index(es):
Relevant Pages
|
Loading