need some help here this is driving me crazy lol. using windows 8.
I have being using my windows for a very long time and its all setup, only thing that really doesn't work is making customized .bat file and try to run it, always giving me "is not recognized as an internal or external command."
now I have tried the same .bat file and works on another machine on a fresh install but fresh install windows is not an option on this one as I have way too much stuff done already.
this is whats in the a.bat file:
"taskkill /F /IM Steam.exe"
it is a simple straight forward taskkill of a software that would work and I don't need to set path as it is built in default into windows. if I type the full command "taskkill /F /IM Steam.exe" this under ANY directory in windows, any drive, it will kill steam.exe.
however if I were to run .bat file this is what I get:
as you can see above it doesn't recognize the command because it seems theres something or some "unknown letters" infront of t for taskkill. by changing taskkill to saskkill, it also shows those unknown letter is infront of s, so this actually is applying to every single of my .bat file and I am unable to run them. only way again is for me to type out entire command which is quite annoying as I can't make any shortcuts.
also, as you guys can see in the pictures, the slash is replaced with japanese symbol that is because I am using japanese system locale and no, switching back to english default language and locale still doesnt solve the problem..
please help, I am at wits end and can't seem to find any similar issue to mine on google.
solved, look at screenshot below. use notepad++ to change encoding and it'll work. or use the "echo" function below to create a clean .bat file.
I have being using my windows for a very long time and its all setup, only thing that really doesn't work is making customized .bat file and try to run it, always giving me "is not recognized as an internal or external command."
now I have tried the same .bat file and works on another machine on a fresh install but fresh install windows is not an option on this one as I have way too much stuff done already.
this is whats in the a.bat file:
"taskkill /F /IM Steam.exe"
it is a simple straight forward taskkill of a software that would work and I don't need to set path as it is built in default into windows. if I type the full command "taskkill /F /IM Steam.exe" this under ANY directory in windows, any drive, it will kill steam.exe.
however if I were to run .bat file this is what I get:
as you can see above it doesn't recognize the command because it seems theres something or some "unknown letters" infront of t for taskkill. by changing taskkill to saskkill, it also shows those unknown letter is infront of s, so this actually is applying to every single of my .bat file and I am unable to run them. only way again is for me to type out entire command which is quite annoying as I can't make any shortcuts.
also, as you guys can see in the pictures, the slash is replaced with japanese symbol that is because I am using japanese system locale and no, switching back to english default language and locale still doesnt solve the problem..
please help, I am at wits end and can't seem to find any similar issue to mine on google.
solved, look at screenshot below. use notepad++ to change encoding and it'll work. or use the "echo" function below to create a clean .bat file.
Last edited:
My Computer
System One
-
- OS
- windows 8.1 and server 2012 R2