type * > foo.txt

  • Thread starter Thread starter thufir
  • Start date Start date
T

thufir

type foo.txt > bar.txt works fine, why no wildcard?


C:\>type C:\java\sources\atreides\monsters *.* > java.txt
Access is denied.
Error occurred while processing: C:\java\sources\atreides\monsters.

build.xml



build.xml.hello
build.xml.jtidy



build.xml.monsters



foo.txt



C:\>
 
You either have to add double quotes or a slash,
depending on what you really mean:

type "C:\java\sources\atreides\monsters *.*" > java.txt
type C:\java\sources\atreides\monsters\*.* > java.txt
 
Back
Top