Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Trouble with PEE

Apr
21
0
I'm trying to run the below

cdd e:\FILE_TRIM & & touch/c e:\CL > nul & PEE "dir/s1/a-d/b .\.* >> e:\CL" "type e:\CL"

It hangs after type e:\CL. Pressing CTRL-C exits bach to take Commands Prompt
 
I'm not sure why you're using PEE. PEE processes STDOUT, typically in a pipe. The purpose is to sent command output to more than one place. You might, for example,

dir | pee "grep exe > lines.txt" "grep dll > dlllines.txt"

Lines containing "exe" will go to one file; lines containing "dll" will go to a different file.
 
I'm laughing so hard that 'pee' is a command.

Someone was feeling fiesty when they named it
 
Back
Top