SLD7 Posted January 27, 2014 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.
uid0 Posted January 27, 2014 Posted January 27, 2014 Just open it with a text editor, and if you can't figure it out, post it here?
SLD7 Posted January 27, 2014 Author 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.
Yzöwl Posted January 27, 2014 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now