How to make bootable usd drive from windows 8/7 dvd or pc files

It is a easy process to create a bootable pendrive through command line (CMD). I will tell you the process step by step.

Step 1: 

Copy the windows files from dvd or mounted iso file and save them to a folder in your harddisk. You just need to make sure you know where it is located.

Step 2: 
Make sure your pendrive is inserted, go to start search cmd , right click on it and select run as administrator. CMD will appear, now you need to write the below comands one by one:

diskpart
list disk
select disk 1(Warning: choose  the usb device, you will recognize it by its size)
clean   (this will erase the usb)
create partition primary
select partition 1
active
format fs=ntfs    (this will format the usb drive and will take 10-15 minutes)

make bootable usd drive from windows 8/7 dvd or pc files

Step 3: 
After the format is done you have to continue writting  in command promt :
assign
exit (this command will exit the disk part function)

Step 4: 
Now you have to write the path to the executable file in your windows saved folder, make sure that in your windows folder you have the boot folder with the bootsect executable file. For my case, I putted this file in E:\win8
So I made this command below:  

E:  (to enter the drive of my windows file)
cd win8  (to enter the folder of my windows file)
cd boot (to enter the folder of boot file)
bootsect.exe/nt60 h:   (h is the letter of the usb drive ,this comand will update the boot core)
exit

Step 5:
Now you have to copy all the files in the windows folder to your usb drive.

ALL DONE. You can install windows from the usb drive.  Bookmark my blog, hope this will help you a lot. Thanks.