Clint Posted October 9, 2005 Share Posted October 9, 2005 I need to make a couple of installed folders "superhidden", and need to do it from from a .cmd that is run @ guirunonce.....is there any clever ppl here that can help a lost soul out ? thanx! Link to comment Share on other sites More sharing options...
lanyus Posted October 9, 2005 Share Posted October 9, 2005 What do you want to do?make some folders hide in batchfile?you can use command "attrib +h foldername" Link to comment Share on other sites More sharing options...
Yzöwl Posted October 9, 2005 Share Posted October 9, 2005 (edited) @echo offattrib +s +h "X:\Parent Directory\Folder1"attrib +s +h "X:\Parent Directory\Folder2"reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v WebViewBarricade /t reg_dword /d 0 /f>nulgoto :eofJust change X:\Parent Directory\Folder1 and X:\Parent Directory\Folder2 to suit your folders Edited October 9, 2005 by Yzöwl Link to comment Share on other sites More sharing options...
lanyus Posted October 9, 2005 Share Posted October 9, 2005 @echo offattrib +s +h "X:\Parent Directory\Folder1"attrib +s +h "X:\Parent Directory\Folder2"reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v WebViewBarricade /t reg_dword /d 0 /f>nulgoto :eofWhere's your parts of "eof"? Link to comment Share on other sites More sharing options...
Yzöwl Posted October 9, 2005 Share Posted October 9, 2005 end of file Link to comment Share on other sites More sharing options...
Clint Posted October 9, 2005 Author Share Posted October 9, 2005 @echo offattrib +s +h "X:\Parent Directory\Folder1"attrib +s +h "X:\Parent Directory\Folder2"reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v WebViewBarricade /t reg_dword /d 0 /f>nulgoto :eofJust change X:\Parent Directory\Folder1 and X:\Parent Directory\Folder2 to suit your foldersExcellent! ..as allways Thanx Yzöwl! Link to comment Share on other sites More sharing options...
darksimoon Posted October 10, 2005 Share Posted October 10, 2005 @Yzöwlhello friend i tried and saw that it is also possible for files. thanks a lot. it was what i wanna do for some time.... 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