中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 18:44
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » How do I access the root\MicrosoftIISv2 path in a BAT file?
Printable Version  935 / 6
Floor1 DebianGrub Posted 2010-02-02 10:11
初级用户 Posts 27 Credits 59
It doesn't list anything related to this path.

How do you view and operate IIS in wmic?
Floor2 mountvol Posted 2010-02-02 10:46
初级用户 Posts 117 Credits 186
wmic
/role:\\root\MicrosoftIISv2
Do you mean something like this?
If you want to know what's under it, you can use the following vbs:
Floor3 DebianGrub Posted 2010-02-02 11:22
初级用户 Posts 27 Credits 59
I don't want to use vbs. The efficiency is too low. Once wscript.exe locks up, it's all over.
Floor4 DebianGrub Posted 2010-02-02 11:22
初级用户 Posts 27 Credits 59
Can't this be done with bat cmd?
Floor5 DebianGrub Posted 2010-02-02 11:22
初级用户 Posts 27 Credits 59
wmic path win32_ I didn't find anything related to IIS in this namespace.
Floor6 mountvol Posted 2010-02-02 12:10
初级用户 Posts 117 Credits 186
Originally posted by DebianGrub at 2010-2-2 11:22:
I don't want to use vbs. The efficiency is too low. Once wscript.exe locks up, it's all over.

I admit it: I'm bored out of my mind, and can't stay calm.

Originally posted by DebianGrub at 2010-2-2 11:22:
wmic path win32_ I didn't find anything related to IIS in this namespace.

I don't know whether what you want is a namespace or a class.
I only know that you can't tell a tiger from a mouse.
Floor7 DebianGrub Posted 2010-02-05 12:10
初级用户 Posts 27 Credits 59
It should be possible to handle IIS settings under cmd, right? Without using vbs, things like iisweb.vbs. Using WMI?
I saw that it does have root\MicrosoftIISv2
there
but in wmic /?
I looked through the help and didn't find any alias related to IIS.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023