Create a file with echo in DOS without inserting a carriage return -
i want create new file on cifs mount in dos. if do..
echo hello > foo.txt there going cr @ end of hello. how can create file @ dos cmd using echo , not have cr automatically appended. causing problems samba , cifs mount.
from this post:
echo.|set /p ="hello" > foo.txt
Comments
Post a Comment