Lord Nikon Posted December 3, 2004 Share Posted December 3, 2004 (edited) Ok. My friend wrote a script taht creates invisible windows folders. I know exactly how to do it, but for some reason, it's not working. What is supposed to happen is this: -Script Creates Folder -Script makes folder System Folder -Script creates Desktop.ini file (The file that specifies the icon the folder is supposed to use) -Script Makes Desktop.ini file system file and hidden file (within the created folder) -Script stops. Now. I have done this, but the script is not working for me for some reason. I want you guys to run it and see if it works for you. Desktop.ini contents: [.ShellClassInfo] IconFile=%SystemRoot%\system32\SHELL32.dll IconIndex=5 My Script: FileCreate("Where you want the folder\ \") FileInstall("Wherever you put the Desktop.ini file", "Where you are sending the Desktop.ini file") FileSetAttrib("Your Folder Path", "+S") FileSetAttrib("Your Desktop.ini Path", "+SH") Enjoy! Comments and Questions welcome! (sorry i double posted, it is in scripts and scraps, human error) Edited December 3, 2004 by Lord Nikon ...and Lord Nikon looked down at his subjects, Prostrating themselves before his feet, his armies marching in the street, and his harem, standing on the side awaiting his need of their "relaxation" services and declared, "It is good...""I am A+ Certified!!!" -Lord Nikon"Pain is weakness leaving the body." -The Marines Link to comment Share on other sites More sharing options...
b1t5tR3@m Posted December 5, 2004 Share Posted December 5, 2004 What I think you're looking for is the following: ;Create 'invisible' directory DirCreate("C:\Temp\test2") IniWrite("C:\Temp\test2\Desktop.ini", ".ShellClassInfo", "IconFile", "%SystemRoot%\system32\SHELL32.dll") IniWrite("C:\Temp\test2\Desktop.ini", ".ShellClassInfo", "IconIndex", "52") FileSetAttrib("C:\Temp\test2", "+R") FileSetAttrib("C:\Temp\test2\Desktop.ini", "+H") Link to comment Share on other sites More sharing options...
b1t5tR3@m Posted December 5, 2004 Share Posted December 5, 2004 Oh..........and your might want to consider ditching the "and Lord Nikon looked down at his subjects, Prostrating themselves before his feet" nonsense; I doubt that will gain you alot of respect or friends around here... Link to comment Share on other sites More sharing options...
Lord Nikon Posted December 6, 2004 Author Share Posted December 6, 2004 I use that on every forum i am a member of...it grows on you i guess... ...and Lord Nikon looked down at his subjects, Prostrating themselves before his feet, his armies marching in the street, and his harem, standing on the side awaiting his need of their "relaxation" services and declared, "It is good...""I am A+ Certified!!!" -Lord Nikon"Pain is weakness leaving the body." -The Marines 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