Shoutbox

Code - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: Code (/showthread.php?tid=60450)

Code by Chris4 on 06-11-2006 at 08:51 PM

Could anyone explain this code to me and tell me what it does/mean ?

code:
XCACLS H:\*.EXE /T /C /D %USERNAME% /Y
XCACLS H:\*.COM /T /C /D %USERNAME% /Y
XCACLS H:\*.VBS /T /C /D %USERNAME% /Y

It's a program at my school which I sent to myself. Probely one that disables everything. It's called StartRun.BAT

Thanks :)
RE: Code by Tochjo on 06-11-2006 at 08:54 PM

For reference, see http://www.ss64.com/nt/xcalcs.html.

The XCACLS is the name of the program file that gets executed when this command is used, H:\*.EXE refers to all executable files on drive H, the parameter /T stands for "traverse all subfolders and change all matching files found", the parameter /C stands for "continue on access denied errors", the parameter /D followed by %USERNAME% means to deny specified user access and this will over-ride all other permissions the user has, and the parameter /Y stands for "replace user's rights without verify".

The lines after that have the same effect but for other file types.


RE: Code by Chris4 on 06-11-2006 at 08:56 PM

Ok, thanks Tochjo. :)


RE: Code by Chris4 on 06-12-2006 at 08:01 PM

Sorry for double post...

But what exactly (in simple terms) does this file do?
Restricts you from....


RE: Code by TheSteve on 06-14-2006 at 12:24 AM

/D user  Deny specified user access, this will over-ride
            all other permissions the user has.

Keeps you from using it.