You should note that you can only create this hidden share when you first share the folder in Windows 7 and Windows 8. Just add the $ right after the share name without any spaces. In Windows 7 and Windows 8, click on the Advanced Sharing button to get all the sharing options. By default, when you click Share this folder, the share name is filled in with the name of the folder. Of course, to share a folder on a home network or even in your office, follow the same procedure as described above.
Remember, this means that any Administrator can access all of your files at any time! So you really have no privacy in a Windows domain.
As you can see here, my entire C hard drive is shared out since I’m on a corporate domain. The $ symbol after the share name is what makes the folder hidden on the network.