CocoNuts974 Posted June 9, 2011 Share Posted June 9, 2011 HelloI will wish to integrate into a custom INF file command "attrib.exe" to hide when I install my windows 7 "StartUp" folder (%APPDATA%\Microsoft\Windows\Start Menu\Programs\StartUp). anyone have any track.Cordially Quote Link to comment Share on other sites More sharing options...
ricktendo Posted June 9, 2011 Share Posted June 9, 2011 If you mount your wim you can apply the attrib +h command to the folders this will carry over to your install (keep in mind there are two \Startup folders)INF code it would go something like this:; File/Folder Attributes; R=1; H=2; S=4; HS=6; SHR=7HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\MyProg",,,"%16386%"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\MyProg",FOLDER,,"Startup,2"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AllProg",,,"%16407%"HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\RenameFiles\AllProg",FOLDER,,"Startup,2" Quote Link to comment Share on other sites More sharing options...
CocoNuts974 Posted June 10, 2011 Author Share Posted June 10, 2011 Thank you Rickendo64 I tested as soon as possible Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.