
Click on "New", type in c:\utilities (case is not important in Windows) and click on OK, and then OK again, and OK again to finish closing all these windows. In the "User Variables for " section, highlight the "Path" line and then click on "Edit".

In Windows, go to Control Panel | System | Advanced System Settings | Environment Variables. We need to add C:\Utilities to the path list.

Say you decide that these small useful programs will be stored in C:\Utilites. Mine shows:Ĭode Select Expand PATH=C:\Mingw\local64\bin-video C:\Mingw\local64\bin-audio C:\ProgramData\Oracle\Java\javapath C:\Program Files (x86) C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0\ C:\Program Files (x86)\GNU\GnuPG\pub C:\Program Files (x86)\GNU\GnuPG C:\Program Files (x86)\WinMerge C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common C:\Program Files (x86)\QuickTime\QTSystem\ C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\WINDOWS\System32\WindowsPowerShell\v1.0\ C:\Program Files (x86)\Windows Live\Shared C:\Program Files (x86)\Common Files\Acronis\VirtualFile\ C:\Program Files (x86)\Common Files\Acronis\VirtualFile64\ C:\Program Files (x86)\Common Files\Acronis\SnapAPI\ C:\Program Files\nodejs\ C:\Program Files\gnuplot\bin C:\Users\Dan\AppData\Local\Microsoft\WindowsApps d:\YouTube_dl C:\Users\Dan\AppData\Roaming\npm If it's in one of these locations you can use just: ffmpegįor example, you might have lot of little utility programs and batch files which you want to be able to run from anywhere. BAT file extension), and you don't specify its location, the operating system looks first in your current location and then in the locations in the PATH list. When you try to run a executable (a file with.

Either copy ffmpeg.exe to a directory that is already in the PATH list of directories, or add its location ( C:\Utilities) to the list of directories in your PATH list.First change to the directory it's located in and then execute it (two separate commands):ĬD \utilities (no need to specify C: if you are already situated on that drive), then ffmpeg.exe (or just ffmpeg).This is probably the best way if you invoke the program from within a batch file. Specify the full path in front of the command:.

ffmpeg.exe which, let's say, is stored in the C:\Utilities directory, there are 3 ways to do this: The prompt ending in ">" shows your current drive and the directory you are situated in e.g. Go to the command prompt, (Type CMD in the Windows Search box and then press Enter).
