echo error

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
 
W

wadester

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
 
M

Mark V

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top