Is there any batch script compiler available? I have a very big batch file and I want to check where my syntax is going wrong. Also using @pause and echo I can check what’s going wrong but a compiler would be a better option.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I suppose the best you could find is a syntax checker, not a real compiler, as in batch many constructs could only compile at runtime.
Nearly each
%var%expansion needs to compile in the moment of expansion, as the content could change everything.Also the possibility of self modifying code makes this problem a bit tricky.
Perhaps someone, sometimes will write a batch debugger, that should be possible.