header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
GC and CF LR
Last Post 12 Jan 2010 12:23 PM by Duane Haas. 0 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
Duane HaasUser is Offline
New Member
New Member
Posts:13
Avatar

--
12 Jan 2010 12:23 PM
    Have a very simple powershell script to count the number of trades in a file: (gc \mimkeimc11n\Batch\FundQuest\TradeFiles\trades.dat |? {$_ -match 'SL|BY'} | Measure-Object | select count).count > \mimkeimc11n\Batch\FundQuest\ConfirmtoFQ\NumberofTrades.txt The problem I am running into is the output NumberofTrades.txt is including the number that I want, but also a CR LF, not sure why??? Any help would be greatly appreciated. here is a screenshot of what i'm seeing http://screencast.com/t/MGM3ZTc0Mzct
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer