Re: Scripting and creating home directories
From: Torgeir Bakken \(MVP\) (Torgeir.Bakken-spam_at_hydro.com)
Date: 02/28/05
- Next message: sudhakarg79_at_hotmail.com: "Looking for a good scripting language."
- Previous message: ckhguru: "DNS command line interface"
- In reply to: Jay: "RE: Scripting and creating home directories"
- Next in thread: Gerry Hickman: "Re: Scripting and creating home directories"
- Reply: Gerry Hickman: "Re: Scripting and creating home directories"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 28 Feb 2005 16:25:59 +0100
Jay wrote:
> How do I access a program like xcacls.exe from inside the script?
Hi
Something like this:
'--------------------8<----------------------
Set oShell = CreateObject("WScript.Shell")
' ... is the parameter input to xcacls
sCmd = "xcacls.exe ..."
oShell.Run sCmd, 0, True
'--------------------8<----------------------
WSH 5.6 documentation (local help file) can be downloaded
from here if you haven't got it already:
http://msdn.microsoft.com/downloads/list/webdev.asp
-- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter/default.mspx
- Next message: sudhakarg79_at_hotmail.com: "Looking for a good scripting language."
- Previous message: ckhguru: "DNS command line interface"
- In reply to: Jay: "RE: Scripting and creating home directories"
- Next in thread: Gerry Hickman: "Re: Scripting and creating home directories"
- Reply: Gerry Hickman: "Re: Scripting and creating home directories"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading