SLD7 Posted January 27, 2014 Share Posted January 27, 2014 I am wanting to view/debug a .cmd file and don't know the best way to do it.I am using microsoft script editor to do .vbs files but with a cmd file it tells me"no script engine for extension '.cmd'". Can I associate cmd files withmicrosoft script engine or is there a debugger that will do the trick. I amusing windows xp. Link to comment Share on other sites More sharing options...
uid0 Posted January 27, 2014 Share Posted January 27, 2014 Just open it with a text editor, and if you can't figure it out, post it here? Link to comment Share on other sites More sharing options...
SLD7 Posted January 27, 2014 Author Share Posted January 27, 2014 I use notepad++ to view the code; what I meant to say was the script doesnot work and I want to step through the code, viewing variables, and cometo the line that is stopping the code. I have used Bartpe in the past to bootfrom a cd, but am trying to get it to boot from a usb and it is not working. Link to comment Share on other sites More sharing options...
Yzöwl Posted January 27, 2014 Share Posted January 27, 2014 The most obvious suggestion is not to turn echoing off and to pause the script at the end.If you are relatively new to NT Command Scripts then you may be better advised to post the code here, either as an attachment or within code tags, upon your reply. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now