I know you can have vlc shut down your pc after you finish playing something but I'm trying to figure out a way to delete the file, preferably with a confirmation dialog box after you finish playing something. Ideally it would only do this if the file was actually played to at least 90% of the file so as not to have unnecessary deletions but that may not be possible. Running a batch file to play the video would work, but it'd have to be something easy to do. Having to edit a batch file with the name of the video to play each time would get old fast. Any ideas?
Asked
Active
Viewed 5,497 times
2 Answers
4
Use something like this maybe?
Prerequisites:
- Add the location of VLC Player to the PATH variable
@ECHO OFF CMD /C "vlc --play-and-exit %*" REM wait a second before deleting ping 1.1.1.1 -n 1 -w 1000 > nul del /F /Q %* PAUSE
Save that as VLCPlayAndDelete.bat and drop files onto the batch script like so:

The files will be deleted when VLC finishes playing all the files that were dropped onto the script.
1
You can make of pot player for the purpose. Press Shift+del to delete the video while it plays.
lalthomas
- 317