Find Files by Attribute-Command prompt

File attributes describe files in specific ways. For example, the read-only attribute defines a file that can’t be written—only read. Directories use a special directory attribute that sets them apart from files. The Dir / AAttribute Filename command, where Attribute is the attribute you want to search for, helps you locate specific kinds of files.
Now that you have some idea of how to find files using an attribute, it’s time to look at the available attributes. The following list describes each of the standard attributes:

·        /AA: Locates files that are ready for archiving.
·        /AD: Locates directory entries.

Find Files with Dir Command Prompt

The Dir command provides a host of ways to locate files on your hard drive. Because Dir can check the entire drive, the results are often more accurate than provided with the Windows search mechanisms. In addition, you can sort files as needed (see the “Find Files in Sorted Order” section for details) and locate files based on their attributes (see the “Find Files by Attribute” section for details). The Dir command also supports a number of display options, such as the /X command line switch that shows you the 8.3 (8 dot 3) display name for files used in the registry. Type Dir /? and press Enter to see a complete list of options.

Use these steps to perform a basic search for files.

1. Type Dir Filename, where Filename is the name of the file you want to locate.
(You can optionally add an absolute or relative path to the file specification.)

2. (Optional) Type /S if the file is in a subdirectory.

Creating a VHD File with diskpart

Creating a VHD File with diskpart
You might occasionally want to have another instance of Windows 7 available on your system. You can do this with a virtual hard disk (VHD) file. This has several benefits:

Taskbar Speed-up Tips for Windows

Taskbar Speed-up Tips for Windows

When it comes to saving time, the taskbar is a very powerful tool.

Launch apps fast

To select a taskbar app from the keyboard, hold the Windows key and press one of the number across the top of your keyboard. Press 1 to launch the first icon, 2 for the second, 3 for the third, and so on up to 0 (that represents 10), so you can have items open in seconds.

Tips to write better C# Code- PART2

Tips to write better C# Code- PART2
Best tips for code developers:
The code developers can boost up their creativity by following these rules:

1. Class size should be kept small. Large class size proves to be totally confusing for the readers. Mostly the large class size becomes a violating factor in case of Single Responsible Principle.

2. An obsolete comment needs to be avoided. It is because it belongs to some old and irrelevant class which does not prove to be fruitful for the code developers. Instead it tends to migrate away from the described codes creating too much irrelevant factors in the code.