set NUMBER=0
echo 3.3.3.%NUMBER% > "file.txt"
after running this command the content of file.txt is 3.3.3.0 with extra space after the 0
I would like to remove the extra space, how this can be done?
EDIT
I following the answer of bgoldst the extra space is gone, however now I have extra line break. I want to remove it
I found some answers for solving the extra line, however I don't want space not new line in the file
 
     
     
    