yup.. with echo. we can send blank on our output device...ex:
echo.test
echo.
echo.oc
will give output like this:
test
oc
Not only that of course: it help us easy on typing code..like echo.On no need to worry echoon mistake,etc
Anyway..i found my mistake..
i think, the command that made it wrong was: xcopy %src% % dest% /d /y 2>echo.>>error.txt
And yup that code is my creation...and of course weird....
I tried to give more detail...after that..
echo. is not recognized.......yeah my mistake was i check command from the same directory...
for that code i used batch file name" test.bat" and from this directory
c:\lab>
and i tried this command
c:\lab>test.bat
and the result was error that i mentioned.
and i tried from root directory
c:\>c:\lab\test.bat
and the same error....hmmm
and after i tried
c:\>echo. Hello word
it's working...
Yeah my mistake was that my weird code before....which was creating file "echo" without any extention...
so from my work directory c:\lab>
echo. always error..
after i delete...."echo"file...
it worked well again..as before normal
as u can see my weird code, made that echo file in my working directory...
thx a lot