I have written a bat file that installs a software. After installing a software, it creates new files under "Program files" and I need to execute one of the newly created files. However when my bat script runs, it says that the path cannot be found. I believe this is because bat does not automatically refresh to get the new files. How would I do that?
Here is how my files goes:
"PATH\setup.exe" /quiet /qb USER_NAME=USERNAME PASSWORD=PASSWORD
call "C:\Program Files\PATH\file.bat" -u admin -p admin
This script is installing using setup.exe. After installation I have to run a bat file that is generated under Program files. Howeevr everytime that step fails by saying "path not found"