batch file to execute if folder exist

  jassie78 11:01 30 Apr 2018
Locked

Hi Guys,

I need to create bat file which checks if a certain file exist in a folder if so excute the file. For windows 7 operating system.

For example:-

Check in the following location:-

C:\ProgramData\CentraStage\Packages\f402e158-117a-498e-b1d6-b06b856c1f88#

If the above folder exist then run command.bat which exist within f402e158-117a-498e-b1d6-b06b856c1f88# folder.

There are two files in f402e158-117a-498e-b1d6-b06b856c1f88# folder

command.bat Dotnet461installe_V1.exe

Hope that's enough information.

Thanks

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Red Dead Online release date and gameplay news

Create a glowing superhero

Mac mini 2018 review

Test : iPad Pro 11 pouces (2018)