I have a batch file that does the following to write to a file:
echo @echo off> start.bat
echo cd %USERPROFILE%\Desktop\BukkitServer>> start.bat
echo java -Xmx1024M -jar craftbukkit.jar -o true>> start.bat
The only problem is that it adds one blank line to the end of the file "start.bat". I am wondering how to remove that empty line from within the same batch file.