Ask a Question related to ASP Components, Design and Development.
-
Gregos #1
Question: need to lauch external program as an administrator
Hello,
I need an ASPobject that will enable me to lauch an external program, like a
..BAT file for example, under the Administrator account.
If I launch a xxx.BAT file using WSCRIPT.SHELL, I have "permission denied"
errors under Windows XP that does not permit me to do this (view following
code...)
Set oScript = Server.CreateObject("WSCRIPT.SHELL")
Call oScript.Run ("createzipfile.bat", 0, True)
--------------> "permission error", under Windows XP (works fine under
Windows NT !)
Do you know a DLL object that could enable me to overpass this issue ?
Thanks in advance for your answer,
Phil
Philippe Gregoire
[email]greg@oceanic-prod.com[/email]
[url]www.oceanic-prod.com[/url]
Gregos Guest
-
FSCommand, execute external program
Hi, i have a problem i wish to submit to you. i have created a graphic application on Flash MX, working on a browser. My customer use old printers... -
How to execute an external (like C++) program?
Hi, All, I need to execute a command-line utility just after stream publishing is over. Can I launch external EXE's from FCS's server-side scripts? -
starting an external program
starting an external program Tue, 11 November 2003 00:12 I'am using een php script with de exec() command to start een external program that... -
opening documents on external program
is your movie in a far deep folder ? sometimes paths too long or containing spaces can make problems..... I'm suggesting that 'cause I use Filextra4... -
Invoking an external program in ASP.NET
Hi, I am trying to invoke an external email management program from my ASP.NET web application. For testing purposes I created a very simple... -
Ray at #2
Re: Question: need to lauch external program as an administrator
Are you sure that it's a permissions issue, as opposed to something caused
by the fact that you aren't using a full path to the .bat file?
I suppose you could create a batch file that uses su.exe from the Resource
Kit and have that batch file run the other batch file as the local admin.
Ray at work
"Gregos" <info@oceanic-prod.com> wrote in message
news:bpkqol$1poehi$1@ID-134316.news.uni-berlin.de...a> Hello,
> I need an ASPobject that will enable me to lauch an external program, like> .BAT file for example, under the Administrator account.
> If I launch a xxx.BAT file using WSCRIPT.SHELL, I have "permission denied"
> errors under Windows XP that does not permit me to do this (view following
> code...)
>
> Set oScript = Server.CreateObject("WSCRIPT.SHELL")
> Call oScript.Run ("createzipfile.bat", 0, True)
> --------------> "permission error", under Windows XP (works fine under
> Windows NT !)
>
> Do you know a DLL object that could enable me to overpass this issue ?
> Thanks in advance for your answer,
> Phil
>
> Philippe Gregoire
> [email]greg@oceanic-prod.com[/email]
> [url]www.oceanic-prod.com[/url]
>
>
Ray at Guest



Reply With Quote

