I am calling a batch file from to pass the contents of a zip file to a text file.
The batch file looks something like this.
pkzip -vb zipfile.zip>>tempfile.txt
When I call the batch file Under WIN98 the dos window runs:
pkzip -vb zipfile.zip>>tempfile.txt
but under NT it runs
pkzip -vb zipfile.zip 1>>tempfile.txt
Somehow a '1' has crept in there. As an experiment I created a batch file:
a>>b
When run under NT this runs:
a1>>b
Again a '1' has got in there. Any ideas how I can stop this?
[sig][/sig]
The batch file looks something like this.
pkzip -vb zipfile.zip>>tempfile.txt
When I call the batch file Under WIN98 the dos window runs:
pkzip -vb zipfile.zip>>tempfile.txt
but under NT it runs
pkzip -vb zipfile.zip 1>>tempfile.txt
Somehow a '1' has crept in there. As an experiment I created a batch file:
a>>b
When run under NT this runs:
a1>>b
Again a '1' has got in there. Any ideas how I can stop this?
[sig][/sig]