Execute user cmd and keep output window open

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Sander Bouwhuis
Posts: 249
Joined: 10 Jun 2008 15:40
Location: Netherlands

Execute user cmd and keep output window open

Post by Sander Bouwhuis »

I would like to know how to execute a user command such that the output window remains open.

I use these settings in the Manage User-Defined Commands window:
Category = "Open with"
Action = Open selected List Item(s) with specified application.
Caption = Is Video HDR?
Application = "C:\Utilities\MediaPlayer\ffprobe.exe" -v quiet -show_streams -select_streams v:0 <selitems> | grep ^color_transfer=
Mode = Multiple instance (pass each of the items to its own instance of the application).

Unfortunately, the cmd window closes within milliseconds, so I cannot see the result. Which option do I need to toggle to keep the output window open?
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into
(")_(") your signature to help him gain world domination.

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Execute user cmd and keep output window open

Post by highend »

By running everything through a cmd /k call

but what you're trying there won't work anyway.

Mode = Multiple instance?

with <selitems>?

In other words: Sent all selected items to each instance that would be spawned.

Pointless.

Write a script that does it correctly and start it via Load Script File instead
One of my scripts helped you out? Please donate via Paypal

Post Reply