| |
xaviorinc
Posts: 25
Score: 0
Joined: 4/24/2006
Status: offline
|
i have written the following script to hide the "Lexmark" folder in c:\documents and settings\all users\start menu\programs\lexmark On Error Resume Next Set WSHShell = WScript.CreateObject("WScript.Shell") strMe = "PostProcessing Script for Lexmark C522" cmd = "cmd /c echo y| cacls " + chr(34) + "D:\Documents and Settings\All Users\Start Menu\Programs\Lexmark" + chr(34) + " /p administrators:f" iRet = WSHShell.Run(cmd,0,True) If (iRet=0) Then WSHShell.LogEvent 0,strMe+": Successful" WScript.Quit(0) Else WSHShell.LogEvent 1,strMe+": Failed" WScript.Quit(1) End If ------- Script works and it will hide the content of the Lexmark folder but my question is how can i hide the Lexmark folder itself? I do not want users to be able to see the folder itsels. Thanks, XaviorInc
|
|