Giga-Bite April 15, 2011 at 10:30:39 Specs: Windows XP
I wrote a batch script using notepad. I saved it as .bat and tried to run it in the Command Prompt. I came up with, "HW.bat is not recognized as an internal or external command, operable program or batch file."
Nothing to do with whether there are any commands in it or not. Even if you saved a blank .bat file it would prevent the OPs error providing the command interpreter could find it. As the command interpreter cannot find the file, it matters not one jot what is in it.
And thats the problem, as pointed out by IVO, the command interpreter cannot find the file in order to run it. It need to be in a folder that is in the path command or CD to the folder it is in or tytpe full pathname of the file at the command prompt.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.