Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cjones46

  1. cjones46

    Automatically Answer "Yes" in VBScript

    Piping that in was my first thought. I just can't seem to make it work with what I've presented. Where, in the script that I posted, do I put that "echo Y |"? I can't get the script to run if I add that in. I even tried breaking the sSyDir and cacls.exe commands apart and then adding the...
  2. cjones46

    Automatically Answer "Yes" in VBScript

    I am using the following script to automate changing permissions on our file servers using cacls.exe: Dim oShell, FoldPerm, Calcds, oFSO Set oFSO = CreateObject("Scripting.FileSystemObject") Set oShell = CreateObject("WScript.Shell") sSysDir = oFSO.GetSpecialFolder(1).Path If Right(sSysDir,1)...

Part and Inventory Search

Back
Top