Sign in to follow this  
Followers 0
Lord Nikon

Invisible Folder Script

4 posts in this topic

#1 ·  Posted (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! :idiot:

(sorry i double posted, it is in scripts and scraps, human error)

Edited 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



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

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

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

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0