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]
 
Top