Lord Nikon 0 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 Share this post Link to post Share on other sites
b1t5tR3@m 0 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") Share this post Link to post Share on other sites
b1t5tR3@m 0 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... Share this post Link to post Share on other sites
Lord Nikon 0 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 Share this post Link to post Share on other sites