how to create password to windows folder using c#
shall I set password to folders when it is created.
You can't set a password on a folder in either FAT32 or NTFS, however you can set up so that only certain user accounts can access it using the DirectorySecurity class. There's some sample code in that link.