kcvinu Posted March 5, 2015 Share Posted March 5, 2015 Hi all, How to hide a folder without using FileSetAttrib function. I have made a script for getting folder path with FileSelectFolder function. But don't know how to hide it efficiently. Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
Bearpocalypse Posted March 5, 2015 Share Posted March 5, 2015 (edited) FileSetAttrib("FILE GOES HERE", "+H") ;Hides the file or folder. FileSetAttrib("FILE GOES HERE", "+SH") ;Gives the file or folder system attribute and hides it even if the normal unhide option is checked under folder options. Edited March 5, 2015 by Bearpocalypse Link to comment Share on other sites More sharing options...
kcvinu Posted March 5, 2015 Author Share Posted March 5, 2015 Hi Bearpocalypse, If i select "Show hidden files" option in windows explorer, will this hidden folder be shown ? Spoiler My Contributions Glance GUI Library - A gui library based on Windows api functions. Written in Nim programming language. UDF Link Viewer --- A tool to visit the links of some most important UDFs Includer_2 ----- A tool to type the #include statement automatically Digits To Date ----- date from 3 integer values PrintList ----- prints arrays into console for testing. Alert ------ An alternative for MsgBox MousePosition ------- A simple tooltip display of mouse position GRM Helper -------- A littile tool to help writing code with GUIRegisterMsg function Access_UDF -------- An UDF for working with access database files. (.*accdb only) Link to comment Share on other sites More sharing options...
Bearpocalypse Posted March 5, 2015 Share Posted March 5, 2015 Hi Bearpocalypse, If i select "Show hidden files" option in windows explorer, will this hidden folder be shown ? You can always show all files. Using the +H attribute will make it as if you right-clicked and went to Properties and hit the Hidden checkbox. +SH will be like a super hide. You can show system files, but if you uncheck the Hide protected operation system files option in Folder Options the files will show. BUT, a person will get a super scary Windows message telling them it is not a good idea to show OS files. 9.9/10 someone will leave them hidden. There is no 100% hide ability. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted March 5, 2015 Moderators Share Posted March 5, 2015 kcvinu,Before we go any further, why do you want to hide this folder? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now