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

Anthem review-in-progress

23 best picture books for children

Apple Streaming Service Release Date & Apple TV Subscription Rumours

Samsung Galaxy S10 : date de sortie, prix et autres rumeurs