Hi my requirement is to set a path using a bat file for my application
I tried multiple ways but none worked for me I'm using windows 10.I do know that we can do it manually but I want to make it automate and I also know that this could cause multiple problems
Here is a bat file code which I wrote
@echo off
set pathss =%path%
setx path "%pathss%";C:\VET\ffmpeg
TIMEOUT 10
when I directly use
setx path "%path%";C:\VET\ffmpeg
It is creating multiple copies So I thought of storing this path 1st in a variable and use it so duplicates will be avoided but I'm not so good with bat files so I don't know what's wrong but the paths are not storing the paths
The application is coded in python and the GUI is made using pyqt5
The application runs on cmd like the commands and all here is a reference image for observation
So its mandatory to add the path else ffmpeg will not recognized.If their is any way to do in building setup like how python can add path as per user requirement
refer image fore reference
Files in FFmpeg folder refer to image for that info
any safe way to add the path in any way will be great to hear
more info about FFmpeg https://ffmpeg.org/
Thanks a lot