batch file to execute if folder exist

  jassie78 11:01 30 Apr 2018

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:-


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.


What is Markdown?

Markdown lets you add more formatting to your post. Simply type in your post and it will display as written.

If you wish to add bold or italic characters, add a hyperlink to another website, a heading or a horizontal line, simply use the relevent icons above the text input field.

A preview of your post will appear in the grey box below. If you make a change and you're not happy, simply press the back arrow icon to undo.

Post a Reply


Elsewhere on IDG sites

HTC U12 Plus review: Hands-on

Best Android emulators for Mac

Comment utiliser l’Apple Store Éducation ?