View Single Post
Old 2006-10-29, 03:05 PM   #86
zman
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
zman's Avatar
 
Join Date: Sep 2005
Posts: 53
Send a message via ICQ to zman
Quote:
Hey zman, nice script!
Haven't tried running it but I know that taskkill is not available for Windows XP *Home* Edition (and probably not for Windows versions before that either). Which means it won't work for most surfers and they'll end up getting a "not a valid Win32 program" - message.

pskill might be an option though it means you'd have to include it in the zip
http://www.sysinternals.com/Utilities/PsKill.html
Thanks for pointing that out. I can easily integrate pskill into the batch file.

Quote:
Also, you might wanna add the "/-p" parameter to your dir commands in case the user has the DIRCMD variable set.
The DIR command does not work that way with the /-p parameter. I'll just set the DIRCMD variable to nothing like this: set dircmd=

Thanks
__________________
Adult Secret
zman is offline   Reply With Quote