任何人都知道如何从ASP执行Windows脚本? [英] Anyone know how to execute a Windows Script from ASP?

查看:78
本文介绍了任何人都知道如何从ASP执行Windows脚本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要从ASP页面执行Windows脚本(wscript / cscript),以获得一些管理功能。有人这样做吗?如果是这样,怎么样?


TIA,


拉里伍兹

I need to execute a Windows script (wscript/cscript) from an ASP page for
some administrative functions. Anyone doing this? If so, how?

TIA,

Larry Woods

推荐答案

WScript.Shell?


干杯

Ken

" Larry Woods" < LA *** @ lwoods.com>在消息中写道

新闻:ep **************** @ TK2MSFTNGP10.phx.gbl ...

:我需要从ASP页面执行Windows脚本(wscript / cscript)

:一些管理功能。有人这样做吗?如果是这样,怎么样?



:TIA,



:Larry Woods




WScript.Shell?

Cheers
Ken
"Larry Woods" <la***@lwoods.com> wrote in message
news:ep****************@TK2MSFTNGP10.phx.gbl...
: I need to execute a Windows script (wscript/cscript) from an ASP page for
: some administrative functions. Anyone doing this? If so, how?
:
: TIA,
:
: Larry Woods
:
:


你做过吗?我已经尝试过几乎所有方式使用WScipt.Shell

我知道怎么做并且它不会执行脚本。如果你有一个例子,我会很高兴看到它。


谢谢


拉里伍兹


" Ken Schaefer" <柯******* @ THISadOpenStatic.com>在消息中写道

news:%2 **************** @ TK2MSFTNGP09.phx.gbl ...
Have you ever done it? I have tried using WScipt.Shell in about every way
that I know how and it doesn''t execute the script. If you have an example I
would appreciate seeing it.

Thanks

Larry Woods

"Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
WScript。壳牌?

干杯
Ken

" Larry Woods" < LA *** @ lwoods.com>在消息中写道
新闻:ep **************** @ TK2MSFTNGP10.phx.gbl ...
:我需要执行一个Windows脚本(wscript /来自ASP页面的$ c $ b:用于:某些管理功能。有人这样做吗?如果是这样,怎么样?

:TIA,

:拉里伍兹


WScript.Shell?

Cheers
Ken
"Larry Woods" <la***@lwoods.com> wrote in message
news:ep****************@TK2MSFTNGP10.phx.gbl...
: I need to execute a Windows script (wscript/cscript) from an ASP page for : some administrative functions. Anyone doing this? If so, how?
:
: TIA,
:
: Larry Woods
:
:


网上有很多示例脚本。当你说它没有

工作时- 你什么意思?你收到错误了吗? (我看到的第一个问题

是权限问题)


干杯




Larry Woods < LA *** @ lwoods.com>写在消息

新闻:uu ************** @ TK2MSFTNGP11.phx.gbl ...

:你做过吗?它?我已经尝试过几乎所有方式使用WScipt.Shell

:我知道它是如何执行脚本的。如果你有一个例子



:很高兴看到它。



:谢谢



:Larry Woods



:" Ken Schaefer" <柯******* @ THISadOpenStatic.com>在消息中写道

:news:%2 **************** @ TK2MSFTNGP09.phx.gbl ...

: > WScript.Shell?

:>

:>干杯

:> Ken

:>

:>

:> 拉里伍兹 < LA *** @ lwoods.com>在消息中写道

:>新闻:ep **************** @ TK2MSFTNGP10.phx.gbl ...

:> :我需要从ASP页面执行Windows脚本(wscript / cscript)

:for

:> :一些管理功能。有人这样做吗?如果是这样,怎么样?

:> :

:> :TIA,

:> :

:> :Larry Woods

:> :

:> :

:>

:>




There are lots of sample scripts on the web. When you say "it doesn''t
work" - what do you mean? Do you get an error? (the number 1 problem I see
is permissions problems)

Cheers
Ken

"Larry Woods" <la***@lwoods.com> wrote in message
news:uu**************@TK2MSFTNGP11.phx.gbl...
: Have you ever done it? I have tried using WScipt.Shell in about every way
: that I know how and it doesn''t execute the script. If you have an example
I
: would appreciate seeing it.
:
: Thanks
:
: Larry Woods
:
: "Ken Schaefer" <ke*******@THISadOpenStatic.com> wrote in message
: news:%2****************@TK2MSFTNGP09.phx.gbl...
: > WScript.Shell?
: >
: > Cheers
: > Ken
: >
: >
: > "Larry Woods" <la***@lwoods.com> wrote in message
: > news:ep****************@TK2MSFTNGP10.phx.gbl...
: > : I need to execute a Windows script (wscript/cscript) from an ASP page
: for
: > : some administrative functions. Anyone doing this? If so, how?
: > :
: > : TIA,
: > :
: > : Larry Woods
: > :
: > :
: >
: >
:
:


这篇关于任何人都知道如何从ASP执行Windows脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆