echo error

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

trying to run command, echo | cc
should be getting cc

instead getting
error: the file, directory name or volume labels syntax is incorrect
 
trying to run command, echo | ccc
should be getting ccc

instead getting;
error: the file, directory name or volume labels syntax is incorrect

If you are just trying to echo "ccc", you don't need the "|". Just
use "echo ccc".

"echo | ccc" takes the output from the echo command (which is "ECHO
is on." or "ECHO is off.") and sends it as input to some program
called "ccc." The command processor is looking for ccc.exe, ccc.bat,
ccc.com, etc., and when it can't find it, tells you.

ws
 
In said:
trying to run command, echo | ccc
should be getting ccc

instead getting;
error: the file, directory name or volume labels syntax is incorrect

"ccc" is an executable file? That is what your command assumes.

If you are trying to echo the literal string including the Pipe symbol,
(which has specisal meaning), you need to "escape" it.

echo ^| ccc
or
echo/^| ccc
 
Back
Top