Thanks for all replies (will read the thread after this reply), but what I was trying to script, was how many lines each alias in a script was.

Alias a contained 113 lines, but alias b containted 735 lines. Perhaps alias b could be split up in several aliases, and make the scriptfile become under the 64kb limit.

Although counting the lines is a bad idea, it gives the an idea. I should perhaps count the bytes instead...

I've never used /filter to be honest, and I wasn't thinking of @windows blush