Syntax Error When Using | (Pipe Sign) in Command Prompt

Joined
Mar 6, 2013
Messages
1
Reaction score
0
When I run the following command (or any command with a pipe | in it) on my machine:

dir | findstr "Directory"

I get the following message:

The filename, directory name, or volume label syntax is incorrect.

Running dir command or findstr command by themselves works just fine.

The volume label is:

vol
Volume in drive C is OSDisk
Volume Serial Number is 685C-A5B5

The version is:

ver
Microsoft Windows [Version 6.1.7601]
 

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