Results 1 to 9 of 9

Thread: make folder invisible

  1. #1
    Stiletto
    Guest

    make folder invisible

    Sups all
    I got a simple q: How can i make folder/s invisible?
    is this posible?
    tnx

  2. #2
    Stiletto
    Guest

    ?

    ?

  3. #3
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    use the SetAttr() function and make it Hidden

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  4. #4
    Stiletto
    Guest
    I dont know this function, can u show me an xample code here, and how can i make the folder to b visible again
    tnx

  5. #5
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    VB Code:
    1. 'To make hidden
    2. SetAttr "C:\windows", vbHidden
    3. 'To unhide
    4. SetAttr "C:\windows", vbNormal

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  6. #6
    Stiletto
    Guest
    not workin for me.. no error no nuthin

  7. #7
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    did you right mouse click on the folder and check if it is marked hidden?

    If it is marked as hidden, then you have chosen to see all hidden files/folders.
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  8. #8
    Stiletto
    Guest

    OOPS

    Stupid me, it works just fine.
    but is there a way to make the folder/s hidden even when the user have chosen to see all hidden files/folders?

  9. #9
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    not that I know of...
    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

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