Computing.Net > Forums > Programming > Batch File Beep / task kill

Batch File Beep / task kill

Reply to Message Icon

Original Message
Name: alblil
Date: October 10, 2006 at 17:52:58 Pacific
Subject: Batch File Beep / task kill
OS: XP
CPU/Ram: 2046mb
Model/Manufacturer: Custom
Comment:

I need help with this batch file. I need it to Beep twice, and then kill every process that is NOT System, Network Service, and Local SErvice.

I tried using filters but it doesnt work.

/fi "imagename eq #.exe" /fi "username ne Local SERvice" .....


And for beeps i tried many things

@echo <Ctrl+G><Enter>
and more things to.

Visit my site, http://www.alblil.com


Report Offensive Message For Removal


Response Number 1
Name: Shr0Om
Date: October 11, 2006 at 02:10:56 Pacific
Reply: (edit)

For the beep you can use:
@echo<space><CTRL+P><CTRL+G><ENTER>
Do this in EDIT (start-->run-->edit)
Or you could try copy the next line and see if that works..

@echo 



Report Offensive Follow Up For Removal

Response Number 2
Name: Mechanix2Go
Date: October 11, 2006 at 03:37:30 Pacific
Reply: (edit)

This bat will do the beep. Dunno about taskkill.

::== beep.bat
@echo off

> d.d echo e 100 07
>> d.d echo n 07.bin
>> d.d echo rcx
>> d.d echo 1
>> d.d echo w
>> d.d echo q
debug < d.d > nul
copy 07.bin con > nul
del d.d
del 07.bin
::== DONE


=====================================
If at first you don't succeed, you're about average.

M2



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: Batch File Beep / task kill

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