v24 TYPE Re-direction

Code:
TCC  24.00.19 x64   Windows 7 [Version 6.1.7601]
Prior to v24, I was able to do this in a .BTM;
Code:
type <<- endtext > %psfile
$F = Select-String -Path "c:\utils\ram1.txt" -Pattern "%1" -Context 0, 3
$F
endtext
With v24, this simply brings up the TYPE dialog.

Any work around?

Joe
 
May 20, 2008
9,144
58
Syracuse, NY, USA
That stinks. IMHO, the user should never (ever, ever) see one of those command dialogs unless he/she specifically asked for it (with "/=" or Alt-F2).