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?
Use something like this maybe?
- 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 220.127.116.11 -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.
You can make of pot player for the purpose. Press
Shift+del to delete the video while it plays.