MS DOS Top 10 commands

ms dos commands

Today I am listing top 10 MS-DOS commands that are used most frequently when you get engaged with the command line(Dos Prompt). Here is the list and their functionalities described in short.
1) CD:
It is used to change directory @ command prompt type "CD <DIRECTORYNAME>" and press enter, it will takes you to that directory.You can use one or more subdirectory names separated by back slash"\".
e.g To change to another path, Type the full path with slashes like CD\WINDOWS\SYSTEM
2) DIR: It displays files and folders in the current directory(directory is the term used by DOS for what windows calls a folder). Folders are indicated in the list by <DIR> and files are usually listed by names.
  • DIR /P : displays the contents a page at a time,i.e as many as will fit in your command line window. Press any key to display the next page.
  • DIR /W : Displays the files/folders in multiple rows.This view gives less information per file.
  • DIR*.JPG: Displays all files with the extension JPG in the current directory and all subdirectories.
  • DIR MY??.* Displays all files beginning with MY,exactly 4 characters long,and with any extension.
  • DIR/S : Lists the contents of all subdirectories.
  • DIR/AH Displays all hidden files.
3) Copy: It is used to copy one or more files to another location on hard disk.
                                          OR
                in simple we can say that it is used to make duplicate file.
4) DEL or Erase: Delete one or more files in the current directory. DEL is not used to delete directories. Use RD to remove a directory.
e.g DEL<SETUP.EXE> deletes setup.exe.
5) Edit: Edit allows a user to view, create, or modify their files.
Runs DOS EDIT(a simple text editor). Useful for editing batch files and viewing logs.
e.g EDIT<NEWFILE.TXT> creates a new file called newfile.txt and opens it up for you to edit.
6) prompt: Changes the appearance of DOS prompt.
7) ren (rename): It is used to rename the directory of file. You must use the full file name including the suffix.
e.g RENAME<OLDNAME.EXE><NEWNAME.EXE>
8) ver: It gives information about operating system version.
9) cls: It is used to clear the screen.
10) format: It is used to erase information off of a fixed drive.
Although the information appears to be erased it is still possible for software recovery programs to recover information from a formatted drive.

Increase the Size of USB from 2GB-4GB, 4GB-8GB, 8GB-16GB

increase usb size

To increase the size of your flash drive you have to download the SDATA tool from the link provided below. You can easily change the size of your usb from 2gb to 4gb, 4gb to 8gb and 8gb to 32gb. Follow the simple steps 
Step 1]
Go to this link & download the SDATA.zip from here.
 https://www.4shared.com/zip/2kWbL88r/SDATA.html?


sdata 4shared

Step 2]
Insert your memory card or flash or USB drive.
Now Format your drive.

Step 3]
Extract SDATA.Zip in your PC. And then double click on the folder in that Run SDATA Tool as administrator.

increase size of usb




Step 4]


increase usb size


select your drive carefully to expand the memory(it will erase all existing data).

Step 5]
increase usb size





Now select the next immediate size to expand. e.g if you have inserted 1 GB card select 4 GB first. Once it completes then select the same drive and select 8 GB and then 16 GB.

Extend Win7 30 days trial upto maximum of 120 days


You can install Windows 7 without any license key and use it for 30 days? What you might not know is that you can also extend that trial mode to 120 days, without requiring a key.

The basic way this works is that at the end of the 30 days, you’ll need to run a small command and reboot your computer, at which point you’ll have 30 more days, up to a maximum of 120 days. This trick should work regardless of where you got your copy of Windows 7 from.
To extend the trial by 30 days just follow the simple steps

Step 1]

The first thing you’ll want to do is check how many days are left in your trial period. You can do this by right-clicking Computer and choosing Properties…
extend windows 7 trial
after clicking on properties a window appears like this
extend windows 7 trial

Step 2]

Now to actually perform the hack that will extend the trial mode, you’ll want to find Command Prompt in the start menu (or search for it), and then right-click on it and choose Run as administrator. (very important)
extend windows 7 trial

Step 3]

Next you’ll simply type in this command: "slmgr -rearm"
extend windows 7 trial

Step 4]

Within a few seconds you’ll normally see this dialog show up, saying that the command has completed successfully, at which point you’ll want to reboot.
extend windows 7 trial
Checking the system properties again shows that I now have 30 days left to activate.
extend windows 7 trial
Of course you’d normally want to do this near the end, probably on the last day before activation. I’m pretty sure that you can even perform this trick after the 30-day trial expires, although I’m not certain yet.

Convert Any Webpage Into PDF File


 

You know sometime there can be server error or system crash of any website. But we can not stop our work due to someone’s error so here is an alternate way to download any webpage into pdf file, have a look on following steps...

Step 1]
Open a website named  http://www.web2pdfconvert.com/





Step 2]

 Copy & paste link of any webpage to which you want to convert into pdf file.


Step 3]

Wait for some seconds.

Step 4]

Now you can download your pdf file