   Dynamic set commands in batch files
  I am writing a batch file which uses an external number stored in a text file (number.txt). I would like to use this number as an environment variable in my batch script. I do not want to use any 3rd party programs (grep,sed,awk,etc...).I tried:echo set Number = >1.txtcopy 1.txt + number.txt 1.batcall 1.batthe thing is that echo inserts a new-line which I can not get rid of. Is there another way to achieve this functionality without 3rd party programs?