Answer the question
In order to leave comments, you need to log in
How to open a file in a program in bat?
Look, you need to open the video file in the program, like when you drag the file onto the program, only in bat, how to do it?
Answer the question
In order to leave comments, you need to log in
But in the bat file it will come to prescribe the path to the video files and this will never be convenient.
Here is a small example
@echo off
set file=file.rrt
set program=notepad.exe
start "" "%program%" "%file%"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question