Batch Program:

- To check file exist or not

About output:

Output may defer according to your system folder so, write the code and execute/run your batch file

@echo off
if exist F:\info.txt (echo "File exists") else (echo "File doesn't exist")

Output:

  File exists

If in your system file is not their as specified location, then it will print "File doesn't exist"

Program
basic

After writing the code, Double-click your batch file, it will check for file in specified location

:: cmd to check file exist or not
  if exist [FILE_PATHNAME] (TRUE_STATEMENT) else (FALSE_STATEMENT)
Concept

Coming Soon !

Quick
Tutorial

Quote

Find a place inside where there’s joy, and the joy will burn out the pain.