Computing.Net > Forums > Disk Operating System > Tool to check syntax of cmd files

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Tool to check syntax of cmd files

Reply to Message Icon

Name: Chris Pollitt
Date: April 22, 2003 at 16:41:14 Pacific
OS: Windows XP
CPU/Ram: PIII / 512 M
Comment:

Is there a tool that can do even a rudimentary syntax check of a cmd file?
I thinking of something analygos to the Perl command: perl -cw foo.pl
Any help would be greatly appreciated.

Please send a copy of your answer to my email address: topher1967@yahoo.com - Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: Miskva
Date: April 24, 2003 at 13:56:24 Pacific
Reply:

Sorry, there is no program I know which can do just that. I propose you can post your code here, if in doubt ..

Or, you could run the script, redirect output to another file, and then check on :

"bad command or file name" or
"Syntax error"



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: Tool to check syntax of cmd files

Set variable to contents of a file. www.computing.net/answers/dos/set-variable-to-contents-of-a-file/13420.html

How to find size of a file? www.computing.net/answers/dos/how-to-find-size-of-a-file/16908.html

Inserting lines to top of a file www.computing.net/answers/dos/inserting-lines-to-top-of-a-file/16317.html