Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows XP / Security and Administration / September 2005

Tip: Looking for answers? Try searching our database.

stopping a .bat script

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dietmar Hochsteing - 27 Sep 2005 18:42 GMT
Hi guys,

I've written a small batch script which itself calls Windows Scripting
Host (cscript.exe), the purpose being that a remote webcam start
broadcasting images. It all works well, but I'd like to be able to
cancel this broadcasting script via another script, as I am actually
connected to the host computer via ssh. In Unix, it'd be easy, a simple
pipe "ps x | grep <scriptname> | kill" would get the process ID and
kill it, but there is no such things on Windows. So does anyone know a
scriptable way to stop another running script?

Thanks

Dietmar
Pickle - 28 Sep 2005 15:58 GMT
...this might help

http://www.beyondlogic.org/solutions/processutil/processutil.htm

> Hi guys,
>
[quoted text clipped - 10 lines]
>
> Dietmar
Michael Evanchik - 29 Sep 2005 02:36 GMT
um actually there is,   look at    c:\taskkill

Michael Evanchik
www.michaelevanchik.com

> Hi guys,
>
[quoted text clipped - 10 lines]
>
> Dietmar
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.