cd `ls | grep 1670`
should get your cd to work (note that these are "reverse ticks")
An alternative approach (preferable by some assumptions) would be to replace $ . For instance.
cd $(ls | grep 1670)
although I can't get this to work with tcsh , it works fine with bash .
The first solution is a shell :)
Levon source share