Opening Task Manager
-
XY fan
- Posts: 254
- Joined: 24 Mar 2022 10:58
- Location: Windows 11 225% scaling on 3840 x 2400 screen
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!
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
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
-
Horst
- Posts: 1419
- Joined: 24 Jan 2021 12:27
- Location: Germany
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, Version 26H2 (OS Build 26300.10075)
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1424b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
Portable x64 XYplorer (Actual version, including betas)
Display settings 1920 x 1080 Scale 100%
Everything 1.5.0.1424b (x64), Everything Toolbar 3.5, Listary Pro 7.1.0.47 beta
-
XY fan
- Posts: 254
- Joined: 24 Mar 2022 10:58
- Location: Windows 11 225% scaling on 3840 x 2400 screen
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 ....
-
XY fan
- Posts: 254
- Joined: 24 Mar 2022 10:58
- Location: Windows 11 225% scaling on 3840 x 2400 screen
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!
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
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
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
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""";-
XY fan
- Posts: 254
- Joined: 24 Mar 2022 10:58
- Location: Windows 11 225% scaling on 3840 x 2400 screen
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!
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
-
WirlyWirly
- Posts: 332
- Joined: 21 Oct 2020 23:33
- Location: XY 64-Bit | Win 11 @ 100% (3440x1440)
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");-
XY fan
- Posts: 254
- Joined: 24 Mar 2022 10:58
- Location: Windows 11 225% scaling on 3840 x 2400 screen
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");
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
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
XYplorer Beta Club