Computer Hope
Microsoft => Microsoft DOS => Topic started by: devduttaa on March 29, 2009, 11:29:42 AM
-
I want to write a batch file to play a video file . Suppose I have a video clip in some location in my PC. I want to write a batch file so that when I click on the batch file icon, the required player will open and start automatically
that particular video file. For example my video file is ABC.flv. I want to write
a batch file so that when I click on the batch file icon , flv player will start
playing the ABC.flv.
THANKS FROM
devdutta
-
If you have the file type associated with a player just put the file path and name (in quotes if there are any spaces)
"C:\My Videos\abc.flv"
-
Please see the video file is not associated with the player.
What I mean is that the player ,for example flv player, supports that format.
Please give the general format of the BATCH FILE.
THANKS
devdutta
-
Please see the video file is not associated with the player.
What I mean is that the player ,for example flv player, supports that format.
Please give the general format of the BATCH FILE.
THANKS
devdutta
Then associate it!
In Windows explorer, right click the file, choose "open with..." choose "choose program", choose "browse", find the program exe file, click OK, then check "Always use the selected program".
However, if you can't, or don't want to,
start "" "Program" "video file"
start "" "C:\Program Files\FLV Player\flvplayer.exe" "C:\My Videos\abc.flv"
-
Then associate it!
In Windows explorer, right click the file, choose "open with..." choose "choose program", choose "browse", find the program exe file, click OK, then check "Always use the selected program".
However, if you can't, or don't want to,
start "" "Program" "video file"
start "" "C:\Program Files\FLV Player\flvplayer.exe" "C:\My Videos\abc.flv"
and what if i want to play this video at a specific time??
-
This thread is 7 years old - make a new one and describe what you need to do.