Batchfile with dir <in.txt >out.txt makes always ERROR
Posted: Wed Mar 12, 2003 9:51 am
I use Textpad since last week. Everything works well, but one problem ocours:
I use some Batchfilse to compile and Link Files.
If I use a Batchfile with e.g.:
dir <in.txt >out.txt
This means "DIR" get the parameters and put the output in the file "out.txt"
From Dos oder Win Explorer it works as it should.
But with Notepad as Tool it makes a error form the Operatin System with something like
C:\TEMP>dir 0<in.txt 1>out.txt
Die Zugriffsnummer konnte nicht ge�ffnet werden,
w„hrend die Zugriffsnummer 0 umgeleitet wurde.
(It is German, it mean that output could not find place while input is routet)
Is there a solution for this problem?
Thanks!
I use some Batchfilse to compile and Link Files.
If I use a Batchfile with e.g.:
dir <in.txt >out.txt
This means "DIR" get the parameters and put the output in the file "out.txt"
From Dos oder Win Explorer it works as it should.
But with Notepad as Tool it makes a error form the Operatin System with something like
C:\TEMP>dir 0<in.txt 1>out.txt
Die Zugriffsnummer konnte nicht ge�ffnet werden,
w„hrend die Zugriffsnummer 0 umgeleitet wurde.
(It is German, it mean that output could not find place while input is routet)
Is there a solution for this problem?
Thanks!