Warning this command will erase all of data on the disk!!!
1. run cmd
2. type : diskpart
3. type : list disk
4. select the disk you want to clean / uninitialize, in this example : select disk 1
5. clean
6. done
This steps are useful if we want to change the disk partition type (GPT or MBR or other)
Showing posts with label cmd. Show all posts
Showing posts with label cmd. Show all posts
Friday, May 1, 2015
Tuesday, August 20, 2013
Get user input from DOS prompt
Very basic example to get user input from DOS prompt
source : http://www.codeproject.com/Tips/123810/Get-user-input-from-DOS-prompt
@ECHO OFF SET /P yourname=Name : echo hello, %yourname% pause
source : http://www.codeproject.com/Tips/123810/Get-user-input-from-DOS-prompt
Subscribe to:
Posts (Atom)