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

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch File Beep / task kill

Reply to Message Icon

Name: alblil
Date: October 10, 2006 at 17:52:58 Pacific
OS: XP
CPU/Ram: 2046mb
Product: 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



Sponsored Link
Ads by Google

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

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 



0

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

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



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


How to run script at cert... USB Events in VB6



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Batch File Beep / task kill

Creating a kill batch file. www.computing.net/answers/programming/creating-a-kill-batch-file/7918.html

A batch file to kill a process www.computing.net/answers/programming/a-batch-file-to-kill-a-process/12884.html

batch file to set in schedule task www.computing.net/answers/programming/batch-file-to-set-in-schedule-task/14751.html