![]() |
|
[Shell] cmd.exe wont run .bat files WEIRD error every first cmd only. cmds after that work.?? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [Shell] cmd.exe wont run .bat files WEIRD error every first cmd only. cmds after that work.?? (/showthread.php?tid=2322518) Pages: Pages
1
2
|
cmd.exe wont run .bat files WEIRD error every first cmd only. cmds after that work.?? - xo03 - Mar 20, 2012 so when I run a .bat file the FIRST command in the file gives an error but every command after that will run just fine. say I run the .bat file below, the first line has this "" added before it, so it does not run properly. Code title fuckthisshitBECOMES: Code title fuckthisshitwhat causes this and how do I fix it????
* - Papaya - Mar 20, 2012 1. You need to use @echo off. 2. Why did you put  there? * - Phaxol - Mar 20, 2012 I had this problem when writing text to a .bat file in VB.NET, is that what you are doing? Because I know a fix. * - Pwner. - Mar 20, 2012 (Mar 20, 2012 03:10 PM)_sudo Wrote: 1. You need to use @echo off. seriously stupid? he didnt put it there. its from the cmd output /fail * - KILLM3 - Mar 20, 2012 It has to do with the formatting. Is the .bat ascii, UTF-8, etc...?Strange symbols appear when improper char codes that are out of range appear. * - Papaya - Mar 20, 2012 Is OP writing it with Notepad? If not, try that. * - xo03 - Mar 20, 2012 I use notepad++ its not just an issue with the .bat files I create. every time an installer or compiler program tries to run any .bat file I get that on the first line... . still looking for help guys :/ any ideas?? * - xo03 - Mar 24, 2012 I'm still looking for help guys.. anybody?? * - In Gold We Trust - Mar 24, 2012 Maybe running a system restore? Because this is very werid. And maybe a test: Make a .bat file on a OTHER pc and run it in this pc. * - xo03 - Mar 24, 2012 (Mar 24, 2012 02:08 PM)iJoris Wrote: Maybe running a system restore? already tried that test and many many others. and I have done system restores. none of them fixed this as this has been a problem for longer that the system restores I have I guess * - 01871717 - Mar 24, 2012 Hmmm. from what I can see it seems that. It's not set to wumbo. Is it? * - xo03 - Mar 24, 2012 huh..? I'm not sure what you mean man :/ * - 01871717 - Mar 24, 2012 (Mar 24, 2012 04:25 PM)xo03 Wrote: huh..? I'm not sure what you mean man :/Well W For wumbo M For majin. Is it set to wumbo or not? * - xo03 - Mar 25, 2012 I would assume not as I have never heard of or seen a variable or setting anywhere for that. * - 01871717 - Mar 25, 2012 (Mar 25, 2012 01:59 PM)xo03 Wrote: I would assume not as I have never heard of or seen a variable or setting anywhere for that. It's first grade. |