[Openroad-users] Call System & Sed
gareth.2.edwards at bt.com
gareth.2.edwards at bt.com
Mon Nov 6 23:34:32 EST 2006
OR4.1 SP3, Win2000
Hi All,
I've got Monday morning blues; I'm running a call system command to
execute a sed script against a file:
CALL SYSTEM 'sed -f c:\script.txt c:\PP.txt > c:\PPP.txt';
The above works fine in a seperate command window.
The problem i am getting is that it will not redirect the output. Now
i've tried everything i can possibly think of. (Checked redirects work
in call system): CALL SYSTEM 'dir c:\ > fred';
I've attached a screenshot of the cmd window that pops up, can clearly
see the sed script running, but not producing the output file.
Is it me or does this not work? What am i missing??
Cheers,
Gareth Edwards
BT Global Services
tel: +44 (0)131 345 4671
email: gareth.2.edwards at bt.com <mailto:daryn.piper at bt.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://peerlessit.com/pipermail/openroad-users/attachments/20061106/21d9cc32/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sed_scrn_print.gif
Type: image/gif
Size: 14310 bytes
Desc: sed_scrn_print.gif
Url : http://peerlessit.com/pipermail/openroad-users/attachments/20061106/21d9cc32/attachment.gif
More information about the Openroad-users
mailing list