It turns out the move command in batch always overwrites the destination by default, how fuck have I been using windows for 20 years without ever discovering this? I have written so many batch files over the years, how could such a simple behavior have avoided my attention for so long, also WTF. Overwrite the default? There is not even a proper way to move a file without overwrite, the standard solution is this abomination.
Echo n|MOVE /-y c:\file1.txt c:\dir\file1.txt
Also who the fuck thought it was a good idea to change the behavior of a command when running in a batch file, I bet many thousands of people have lost data over the years to this retardation. Commands in batch should not work differently to executing directly in the command prompt, utter retards.
-
Recent Posts
Recent Comments
- I'd Rather Wear Monocles To See Sharp on C# is a complete piece of shit.
- LinuxUser on Windows 7 is such a piece of shit, part 3
- passing here on I just learned something about batch files, and it shocked me.
- heashot on MinGW-w64 and the NT native APIs
- Tyler on MinGW-w64 and the NT native APIs
Archives
Categories
Meta
batch file were created for unattended execution of commands, so they don’t ask user interaction