Okay, let's say that you need to format a disk. These are the instructions. (In this sample, you format disk a:).
1.Open notepad.
2.Write the code:
@echo off
format a:
3.Save it as format.bat (In "file type" you select All Files and in "encoding" you select ANSI only!!!) Save it as anything you want as its extension is .bat
Now I'll explain what any part of the code does:
@echo off=This sets the pc to not show the commands.
format x:=This sets the pc to format the disk of your selection where x is the disk.
0 comments:
Post a Comment