d4rk Posted February 21, 2008 Share Posted February 21, 2008 2, i use these codes to kill the Explorer.exe but after a closing moment, it re-appear $killex = ProcessExists("Explorer.exe") If $killex Then ProcessClose($killex) it's possible to kill this task manually (task manager => End task) thanks for the replys [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
BrendonKoz Posted February 21, 2008 Share Posted February 21, 2008 (edited) From my code which is eerily similar to yours (link) (I simply have a processwaitclose function after the processclose), I haven't had any trouble. Is Explorer running as a service on your computer? If it is, I'd search these forums for starting/stopping services. Edited February 21, 2008 by BrendonKoz Link to comment Share on other sites More sharing options...
d4rk Posted February 22, 2008 Author Share Posted February 22, 2008 Thanks for the reply, that's much useful [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
d4rk Posted February 22, 2008 Author Share Posted February 22, 2008 yeah ... it's useful but i can't kill the Exlporer.exe, these are the new codes : While ProcessExists("Explorer.exe") Sleep(1000) ProcessClose("Explorer.exe") WEnd i don't know but is it impossible to kill Explorer.exe ? [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
BrendonKoz Posted February 22, 2008 Share Posted February 22, 2008 (edited) It's definitely possible because it worked fine on my PC. Which version of Windows are you using - and under what language (in case it matters)? Also, did you check to see if Explorer is running as some sort of process? Are you running as an administrative account? I can test under XP Pro (original - SP2), and XP MCE SP2. Edited February 22, 2008 by BrendonKoz Link to comment Share on other sites More sharing options...
mikiutama Posted February 22, 2008 Share Posted February 22, 2008 (edited) $killex = "Explorer.exe" If ProcessExists($killex) Then RunWait("taskkill /F /T /IM " & $killex, "", @SW_HIDE) Edited February 22, 2008 by mikiutama Link to comment Share on other sites More sharing options...
d4rk Posted February 23, 2008 Author Share Posted February 23, 2008 (edited) $killex = "Explorer.exe" If ProcessExists($killex) Then RunWait("taskkill /F /T /IM " & $killex, "", @SW_HIDE)thanks alot, it works on my pc @BrendonKoz OS : XP Pro Lang : Eng i'm running on an administrator acc if these if formation is need for you ... By the way, i want to ask about this line of code RunWait("taskkill /F /T /IM " & $killex, "", @SW_HIDE) what's the job of ("taskkill /F /T /IM ..."), i can't find this structure in help document Edited February 23, 2008 by d4rk [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
MHz Posted February 23, 2008 Share Posted February 23, 2008 what's the job of ("taskkill /F /T /IM ..."), i can't find this structure in help documenttaskkill.exe is a CLI tool of XP Pro onwards so like any tool of windows, it is not part of AutoIt so is it is not documented by the AutoIt help file. Link to comment Share on other sites More sharing options...
d4rk Posted February 23, 2008 Author Share Posted February 23, 2008 taskkill.exe is a CLI tool of XP Pro onwards so like any tool of windows, it is not part of AutoIt so is it is not documented by the AutoIt help file.thx for telling me 'bout it, so is the /F /T /IM also a part of it ? and is there any public place to learn more about this ? [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
MHz Posted February 23, 2008 Share Posted February 23, 2008 Go to a command prompt and type taskkill /?. Many M$ CLI tools respond to /? for help. Type just help for general inbuilt commands and some common CLI tools if ever need. Link to comment Share on other sites More sharing options...
d4rk Posted February 23, 2008 Author Share Posted February 23, 2008 Go to a command prompt and type taskkill /?. Many M$ CLI tools respond to /? for help. Type just help for general inbuilt commands and some common CLI tools if ever need.thanks, that's great... i'm staring to learn 'bout it ... [quote]Don't expect for a perfect life ... Expect a least troubles ones[/quote]Contact me : ass@kiss.toWhat I Have Done :Favorites Manager Mangage your favorite's folder, that's coolPC Waker For those who want to save stickersWebScipts Supporter For those who've just started with Web and WebScriptsTemporary Looker Simple but powerful to manage your Temporary folder, you know what you downloaded[UDF] _NumberFormat() Better performance on number display[UDF] _DirGet() What a folder contain [how many (hidden,normal,...) files], with one line of code[UDF] _IsPressEs() Just like _IsPress() but for a group of keys Link to comment Share on other sites More sharing options...
MHz Posted February 23, 2008 Share Posted February 23, 2008 Here is a very good list of CLI commands listed at the link given. This site is good in the areas it covers so good add to your bookmarks for future reference.http://www.robvanderwoude.com/batchcommands.html Link to comment Share on other sites More sharing options...
BrendonKoz Posted February 23, 2008 Share Posted February 23, 2008 Thanks for that link reference, MHz, I've definitely bookmarked it! Link to comment Share on other sites More sharing options...
Anteaus Posted February 23, 2008 Share Posted February 23, 2008 BTW, this behaviour of explorer.exe is normal; it is automatically restarted by the winlogon process if it fails. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now