Posts

Showing posts with the label windows 7

List all files & Folders In Windows/Unix

On Windows CMD Prompt: dir /s /b /o:gn On UNIX : find . -print | sed 's;[^/]*/;|___;g;s;___|; |;g'

Create Bulk folders Using Batch file

Simple Script To Create Bulk Folder L:isted In Text File: Create a file named "CreateDir.bat"  and list all the folders tat you want to create in "file.txt" Content of CreateDir.bat 1 2 3 @ echo off for /f %%i in (file.txt) do mkdir %%i Simply run the batch file and your folders will be created.!

How to Restore the Windows 7 MBR (Master Boot Record)

Image
1. Boot your computer to the Windows 7 DVD (or to a " Repair CD "). At this screen choose to install now. 2. Select your language and click next. 3. Click the button for "Use recovery tools". 4. Then select "Command Prompt". 5. When open, the command prompt will look like this: 6. The command we will use, bootsect.exe, is in a folder (named boot) on the DVD. We need to know what drive letter has been assigned the DVD drive to access the folder. Code: Type: diskpart and press Enter Type: select disk 0 (zero) and press Enter type: list volume and press Enter In this screen shot, the 7 DVD is letter: G 7. Use your DVD drive letter and Code: Type: exit and press Enter to close Diskpart Type: G: (use the letter of your DVD drive) and press Enter Type: cd boot and press Enter Type: dir and press Enter to verify that bootcect.exe is there (if you really need to) 8. To restore the "bootse

Using Diskpart to Create Partition in Windows 7

Image
1. You will first need to shrink a partition or volume to create a unallocated partition to use to create the new partition or volume with. 2. Open a elevated command prompt , or a command prompt at boot . 3. In the elevated command prompt, type diskpart and press Enter . (See screenshot below) 4. In the elevated command prompt, type list disk and press Enter . (See screenshot below) NOTE: This is to help you ID the disk number that has Free unallocated space that you want to create a new partition with. For example, Disk 1 with 80 GB of free space. 5. In the elevated command prompt, type select disk # and press Enter . (See screenshot below) NOTE: You would substitute # for the disk number listed that you want to create a new partition with the free unallocated space there. For example, I want to create a new partition with the 80 GB of free space, so I would type select disk 2 and press Enter . 6. In the elevated command prompt, type create

Windows 7 Indexing Option

Image
The built-in search feature in Windows 7 is significantly better than the horrible search options in Windows XP. Instead of installing a third-party program like Google Desktop to search for files on inside files on your computer, you can now do it with easily from Windows 7. For example, let’s say your a programmer or web developer and you want to be able to search your code files like .aspx, .html, .java, .php, etc. With Windows 7, you can configure the search indexer to not only index any file you want, but also to index the file contents. By default, the Search Indexer in Windows 7 indexes the most common locations where your files would be stored, i.e. all libraries, everything in your User folder, and e-mail. If this is not enough, you can add or remove index location really easily. That means you can tell Windows 7 to index and return results from files and folder on network drives or external hard drives. To get started , click on  Start , then type in search  into the