I'm having a problem when redirecting output from a system call to a text
file.  A good example would be:

command.com /c dir /O /a-d /s > dir.txt

When I run this directly from the command line I will get the full path
structure in the output file.  When I call this from a perl script in the
form:

system ('command.com /c dir /O /a-d /s > dir.txt');

the output to the text file concatentates directory names longer than 8
characters to 8 characters.  My desire is to have the output explicitly
state the full path rather than the concatenation.

Any ideas what I need to do to overcome this problem?

Thanks for your assistance . . .


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to