Many a times we get in the situation where we’ve to do repeated task. Some things can be done using Command Prompt, but then some requires more manual methods to do. Even command prompt works is not easy as it supposedly doesn’t allow you to do jobs in bulk (at least you’re not aware of it).
Here I list few of the simple tips and tricks to help you work faster and quicker. Almost each of them requires software to download, but given their small size and portable nature, I don’t think it’s gonna be much of a problem.
1. Get extra juice from your Clipboard:
Microsoft’s inbuilt clipboard utility is great and is quite a lifesaver when it comes to copy and pasting things, but it’s quite basic in functionality. t only keeps track of last copied text, which may not be very convenient in the situations where you’ve to do a lots of copy and pasting. To help you out, comes a very small utility called ClipTrap. It’s very simple clipboard monitoring tool, which can be used on-demand. That means you can turn the feature off when you don’t need it. The interface is quite straightforward and requires almost zero configuration. Just launch the application and and it starts monitoring your clipboard and saves copied text in it’s own windows for later saving purpose. Neat, isn’t it?
2. Create folders and sub-folders in bulk:
Creating a folder is very easy task. But when you require to create a lots of folders then real pain comes. Microsoft doesn’t provide any bulk method to do this, right? Well, it’s nice to inform, that they actually do, but the method requires use of command prompt and good memory to remember the syntax. Creating the folders in bulk requires you to create a text file (say example.txt) and add the folder structure you want to create. So, if you want to create folders namely a, b, c (inside a) and d (inside b), you can simply write a, b, ac & bd in this text file, each in it’s own line. Now, place this text file in the folder where you want these new folders to be created, fire up your command prompt and go to the same directory. Finally, call this function to create all the folders :
FOR /F “delims=” %i in (a.txt) do md %i
If you find the command prompt part is too difficult for you, then just download this simple utility called Text2Folder. This does the same thing as the command written above, all you need is to browse for the text file and browse the folder location where new folders are to be created and you’re done! One more advantage of using Text2Folder utility is that you don’t have to always copy the text file in root of the folder every time, the utility takes the pain for you. The interface is quite simple as you can see below.
3. Create folder by filename and move the file in it:
Most of the times we want to copy some files in a folder and arrange them properly (happens mostly in case of unsorted movies and music, isn’t it?). If you also need such a too then download Files2Folder. This is not actually a tool but a simple shell extension (you know, something that comes with your right click!). When you start Files2Folder (must be elevated in case of Windows Vista/Windows 7), it simple ask if you want to register the shell extension, press yes and you’re done. A new right click entry for the files and a shortcut to unregister this shell extension will be created. Now click any file and select “Files 2 Folder” and you’ll immediately see a new folder is created having the same name as the file and the file is moved to this folder. Quite is time saver, isn’t it?
4. Print directories and files to a file:
Sometimes, we need to have a structure of files and folders in some particular locations/folders. We may need this if we need to make some changes in system and want to maintain the folder structure or if we want to send this information to someone. But whatever maybe the reason, getting directory structure is not much of issue if you know Command Prompt, and you just have to type this in your command prompt –
dir /a /s > location/output.txt
where /a (optional) anchor lists all hidden files and folders, /s (optional) lists the sub-folders, location is where you want to save your output and finally you can replace output with any name. but it’s somewhat complicated for those who are not very comfortable with command prompt. Also, this method has quite limited – you cannot customize the output; as the output is plain-text, formatting it properly is another pain; creating directory structure of multiple directories is difficult (although possible); and finally, every time you require the directory structure, you’ve to go to the folder through command prompt.
To address all these issues in single shot, just download this cool little portable utility called Pir. With Pir, you can decide whether output be in list, tree or combination of both. You can select multiple folders to be printed in single out. Also, the output is well formatted RichText, which can be edited as per users need before saving, unlike command prompt method. Just go through following screenshots to see Pir’s features in detail –