List/Grid Tag Archives: folder
How To Get Path Of Application Folder
Use any of the following commands to get the path of Application folder. Now the first two commands can be used in both Windows Form Applications as well as Console Applications, while the other commands can be used only in Windows Form Applications. Application.StartupPath; Environment.CurrentDirectory; Path.GetDirectoryName( System.Reflection.Assembly.GetAssembly(typeof(Form1)).CodeBase); Application.ExecutablePath; System.Reflection.Assembly.GetExecutingAssembly().Location; Now, last two commands will gives you the full path of executable file, while the rest will give you the…
How to Print a List of Items Present in a Windows 7 Folder
If you work a lot on your computer, create a lot of files and folders every day, then at some point, you may wish to have a list of currently present folders and files in a directory, or may want to print the same. This is extremely helpful when you have a huge number of files or folder present in a directory. Command Prompt helps you in such a case,…
How to Lock Folders in Vista/Windows7
Do you want to lock and password protected your important folders in Windows 7? If you are an administrator and have multiple accounts set up in Windows 7 / Vista, then you can block folders so that they can not be accessed by other users. When other users try to access the blocked folder, it will ask for administrator password. So, the folder will be locked permanently unless you don’t…