Command line to play VLC file
Posted: 19 Apr 2010 01:43
I wrote an Autoit sript to play a file and got the following error
File reading failed:
VLC could not open the file "$FileName".
Your input can't be opened:
VLC is unable to open the MRL '$FileName'. Check the log for details.
Below is the code
However this code works fine
What is the correct syntax for passing a variable file name?
File reading failed:
VLC could not open the file "$FileName".
Your input can't be opened:
VLC is unable to open the MRL '$FileName'. Check the log for details.
Below is the code
Code: Select all
$FileName = "pdv_nn_netcast_m4v-04-17-2010-170502.m4v"
Run("C:\Program Files\VideoLAN\VLC\vlc.exe $FileName", "E:\My Videos\NBC Nightly News\")
Code: Select all
Run("C:\Program Files\VideoLAN\VLC\vlc.exe pdv_nn_netcast_m4v-04-17-2010-170502.m4v", "E:\My Videos\NBC Nightly News\")