Opening Task Manager
Opening Task Manager
Could someone give me a script to open the Task Manager with a button I will put on the Toolbar. Assuming this is possible - I am still educating myself about scripts!
Re: Opening Task Manager
And you can't google how to run the
taskmgr
and the run
command from the help?One of my scripts helped you out? Please donate via Paypal
Re: Opening Task Manager
That would be a rather unnecessary button or script
as there enough Windows ways to invoke the Taskmanager.
Ctrl + Shift + Esc
Right click on the taskbar
If you insist of a button add for example for the Left click of a button
run "Taskmgr.exe";
as there enough Windows ways to invoke the Taskmanager.
Ctrl + Shift + Esc
Right click on the taskbar
If you insist of a button add for example for the Left click of a button
run "Taskmgr.exe";
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Portable XYplorer (actual version, including betas)
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
Re: Opening Task Manager
Thanks - that works just fine.
The script starts the Task Manager in a small windows - if I want it to start up Maximised do I just add /M or ....
The script starts the Task Manager in a small windows - if I want it to start up Maximised do I just add /M or ....
Re: Opening Task Manager
I decided I would rather run Sysinternals Process Explorer from the button so now need a script to do that.
I have got as far as -
run "C:\Program Files\Power Toys\Process Explorer\program\procexp64.exe"; - which is the correct path to where I have put the executable.
but which does not work. What am I missing - I have read the Help file!
I have got as far as -
run "C:\Program Files\Power Toys\Process Explorer\program\procexp64.exe"; - which is the correct path to where I have put the executable.
but which does not work. What am I missing - I have read the Help file!
Re: Opening Task Manager
No, you didn't.I have read the Help file!
That path contains spaces^^
One of my scripts helped you out? Please donate via Paypal
Re: Opening Task Manager
Running "procexp64.exe" with
As highend mentioned, your path/name has spaces, mine does not. Try
run "D:\Tools\ProcessExplorer\procexp64.exe";
using my path to it works for me. Do you have that script line in the CTB "On left-click" or "On right-click" block?As highend mentioned, your path/name has spaces, mine does not. Try
run """C:\Program Files\Power Toys\Process Explorer\program\procexp64.exe""";
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440
Re: Opening Task Manager
Thanks to both of you especially klownboy. The extra " works. But I still do not see where the spaces are/were!
-
- Posts: 195
- Joined: 21 Oct 2020 23:33
- Location: Through the Looking-Glass
Re: Opening Task Manager
When using the run command, I find that passing your arguments through the lax() function reads a lot more natural.
run lax("C:\Path\to\file.exe" "flag1" "flag2");
Re: Opening Task Manager
Thanks - that works tooWirlyWirly wrote: ↑20 May 2022 16:50 When using the run command, I find that passing your arguments through the lax() function reads a lot more natural.
run lax("C:\Path\to\file.exe" "flag1" "flag2");
Re: Opening Task Manager
And
runq
works as well and in general, all correction quotings would have worked...One of my scripts helped you out? Please donate via Paypal