Jump to content

Please someone test 5.2 or 5.3 with a large config.


 Share

Recommended Posts


I think that's why I did it my way, the dos screen is mutch shorter.

I can change it back with cmd /c so wpi does the command.

Do that after my problem is solved. :lol:

That wil also be after my vacation.............

Edited by Pliek
Link to comment
Share on other sites

Ok, I made a little exe you have to put on your cd or in your windows.

It accepts only one command-line parameter and that is a process name that should kill.

The AutoIT code

#include "process.au3"
If $cmdline[0] = 1 Then
_RunDOS('taskkill /im "' & $cmdline[1] & '" /f')
EndIf

Not that complicated, right? :w00t:

Usage

TaskKillS program.exe

I'll upload only the compiled version.

Link

Edit: I forgot to say it displays no splash screen at all.

Edited by sadicq
Link to comment
Share on other sites

Ok, I made a little exe you have to put on your cd or in your windows.

It accepts only one command-line parameter and that is a process name that should kill.

The AutoIT code

#include "process.au3"
If $cmdline[0] = 1 Then
_RunDOS('taskkill /im "' & $cmdline[1] & '" /f')
EndIf

Not that complicated, right? :w00t:

Usage

TaskKillS program.exe

I'll upload only the compiled version.

Link

Edit: I forgot to say it displays no splash screen at all.

Thanks sadicq, hope I can test it today...otherwise it wil be when I rerurn at about 2 weeks.

Have to clean my mind now.... :whistle:

LOL :thumbup

Link to comment
Share on other sites

Ok, I made a little exe you have to put on your cd or in your windows.

It accepts only one command-line parameter and that is a process name that should kill.

The AutoIT code

#include "process.au3"
If $cmdline[0] = 1 Then
_RunDOS('taskkill /im "' & $cmdline[1] & '" /f')
EndIf

Not that complicated, right? :w00t:

Usage

TaskKillS program.exe

I'll upload only the compiled version.

Link

Edit: I forgot to say it displays no splash screen at all.

Hey do you mind if I add this to the tools archive?

Link to comment
Share on other sites

Ok, I made a little exe you have to put on your cd or in your windows.

It accepts only one command-line parameter and that is a process name that should kill.

The AutoIT code

#include "process.au3"
If $cmdline[0] = 1 Then
_RunDOS('taskkill /im "' & $cmdline[1] & '" /f')
EndIf

Not that complicated, right? :w00t:

Usage

TaskKillS program.exe

I'll upload only the compiled version.

Link

Edit: I forgot to say it displays no splash screen at all.

Hey do you mind if I add this to the tools archive?

Kel & sadicq, please note that taskkill is only for XP Pro.

XP home has a tskill instead.

I'd reckon to use AutoIt's ad hoc function which will work in any case (see the AutoIt help file for the 'ProcessClose' function):

If $cmdline[0] Then ProcessClose($cmdline[1])

Compile it with the same name and use it the same way.

Link to comment
Share on other sites

I know that function. It oftenly fails to close some processes which are not responding or are using much cpu power. So, long story short, processclose is not an option.

I'll look into this later, and I'll consider rewriting that in vb .net as I'm trying to learn it right now.

Or I'll attach the original takkill to the exe and extract it when needed.

Anyway, I wrote that just to show you how easy it is to hide it ... so it's not vital for the non-XP users.

Link to comment
Share on other sites

Yes, autoIt used to have problems with delays on heavy loads sometimes.

What about a loop forcing it?

If $cmdline[0] Then
While ProcessExists($cmdline[1])
ProcessClose($cmdline[1])
WEnd
EndIf

Anyway, I was just mentioning this as Kel is looking for 'universal' solutions: we don't want bug reports saying TaskKillS is not working on some machine ;) .

If you prefer to stick to the attached exe and fear an issue with the licence, maybe Process.exe (25Kb, freeware) from Beyonlogic is a good choice...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...