I want to create a new file on my CIFS mount in DOS. If I do..
echo hello > foo.txt
There is going to be a CR at the end of hello. How can I create a file at the DOS cmd using echo and not have a CR automatically appended. It is causing problems with samba and my CIFS mount.
echo.|set /P ="hello" > foo.txt