Want to become a Vibe Coder? Join Vibe Coding Training here
x
C# Corner
Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Bounty
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
How to Check File Exists or not Using Batch File
WhatsApp
Mukesh Kumar
Nov 29
2015
1.8
k
0
0
set
var=%cd%
set
buildexePath=
"C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319"
If Exist
"C:\Program Files (x86)\MSBuild\12.0\Bin"
set
buildexePath=
"C:\Program Files (x86)\MSBuild\12.0\Bin"
If Exist
"C:\Program Files\MSBuild\12.0\Bin"
set
buildexePath=
"C:\Program Files\MSBuild\12.0\Bin"
ECHO Process completed
pause
batch file
Check File Exists or not
C#
Up Next
How to Check File Exists or not Using Batch File