1.

Solve : Cant run .bat while cmd itself works fine?

Answer»

Hello everyone, first of I have to say that English is not my mother language so there could be some mistakes.
Okay so I coudnt find any solution about this on internet or at least none of the 'fixes' helped me. Here is detailed thing about what happens when I launch .bat (check pic bellow),
Even though this is the simplest 'code':
echo off
echo Hello
pause
I get that error message everytime..
I dont know what to do anymore, I've tried to UPDATE java, to change ENVIRONMENT variables, even update registry with supposedly batchfix.reg FILE ( dont worry I've backuped registry before doing this) and none worked, I really hope you can help me out
P.S. I started hello.bat through cmd because when starting it by double click it starts cmd for a second showing this message and closes itself right after!

Im using win7 x64 sp1 pirated but still activated by license.
Thanks in advance

[attachment deleted by admin to conserve space] Quote from: Rapt0r on November 25, 2016, 04:03:50 PM

Im using win7 x64 sp1 pirated
Uh-oh.

Quote from: Salmon Trout on November 25, 2016, 04:40:03 PM
Uh-oh.
Wanted to say that Im not using a legit windows, it just downloaded version that is licensed, at least thats what it shows up on system info.Thee is not any reason to use a pirated version of Windows. (Except for a pirate.)
https://www.pcsteps.com/45-download-windows-7-iso-legally-free-digital-river/
A legal product key can be obtained at a very low costs for students and others who have special need.  In some cases it might be free.  Did you save the .bat file as a Unicode file by accident? Quote from: Squashman on November 25, 2016, 08:54:00 PM
Did you save the .bat file as a Unicode file by accident?
Thank you so much! Yes, that was the problem!
Im using cyrilic latter and sometimes when I write a document it removes 'special latters'  so I set unicode by default.
I was also tempted to reinstall OS because I really thought that's the problem....
Once more THANKS A LOT Squashman!The SCREEN shot you took was the dead give away because of the character before the .


Discussion

No Comment Found