Home > Enterprise >  How to modify a batch file to support drag and drop for processing a video file?
How to modify a batch file to support drag and drop for processing a video file?

Time:09-23

I was hoping that someone would help me modify this batch file to my needs. This is a file which allows me to use a video encoder and encode videos. I have to do following to get it working:

  1. Put the batch file called proxy generator.bat in the folder where my video is located.

  2. Put the encoder software called NVEncC64.exe which is in a folder called nvencc in the same folder as the video and the batch file.

  3. I can now run the batch file and it will do the job.

What I want to achieve if possible is to have the batch file and the nvencc folder saved to another location like D:\Encoder and be able to drag and drop a video from another drive (external HDD) on the batch file and get the job done.

I will paste the batch file here. Please take a look and see if it's possible for you to help me with this.

@echo off
set t0=%TIME%,            
  • Related