Computing.Net > Forums > Disk Operating System > I want to make a bat file

I want to make a bat file

Reply to Message Icon

Original Message
Name: sean thorkilsen
Date: March 31, 2000 at 10:56:24 Pacific
Subject: I want to make a bat file
Comment:

I want to know the dos commands to make a bat file , so i deletes all the mp3s on my hard drive accept for "my folder"when I start up my computer

thanks


Report Offensive Message For Removal


Response Number 1
Name: StormWlf
Date: March 31, 2000 at 11:04:18 Pacific
Reply: (edit)

a bat file is a text file tha runs a series of commands
You can use notepad or edit in dos
Try looking at deltree /?
for the command.


Report Offensive Follow Up For Removal

Response Number 2
Name: Preston
Date: March 31, 2000 at 22:19:33 Pacific
Reply: (edit)

Well, you have to know where the mp3 files are in order to write a *.bat file to erase them. Let's assume all the mp3 files are in a directory named "music". Here is the DOS commands to use.

c:
cd \music
erase *.mp3

You can use edit.com or notepad and copy these lines. Then save the program to the Windows directory under a name you'll remember, like "erase.bat".

The first line, c:, is the DOS command to change to the c: hard drive.
The second line, cd \music is the DOS command to change directory to the \music directory.
The third command erase all files ending in mp3.

Preston


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: I want to make a bat file

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge