CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2010
    Posts
    38

    Can Somebody Explain This Code??

    I didnt know where else to put this, so Im putting it here.. I found this code to lock folders on the web

    http://www.hackingethics.com/blog/wp...08/05/lock.txt


    I would really appreciate if someone throws some light on this part of the code
    Code:
    if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
    Code:
    attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
    what do the numbers in the curly braces mean?? O_o

    Thanks!
    Last edited by vinayak4gargya; July 17th, 2011 at 08:18 AM.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,398

    Re: Can Somebody Explain This Code??

    If you meant this one
    {21EC2020-3AEA-1069-A2DD-08002B30309D}
    then it is a GUID (or UUID).
    Victor Nijegorodov

  3. #3
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Can Somebody Explain This Code??

    Don't bother with the. Equivalent of Snake Oil, from the Old West...
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  4. #4
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,283

    Re: Can Somebody Explain This Code??


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured