|
Re: How do I get format-table to drop that omission points (...) and display my data "Keith Hill [MVP]" <r_keith_hill@mailhot.moc.nospam> wrote in message
news:%23OzeACahGHA.1612@TK2MSFTNGP04.phx.gbl...
> "Harald Ums" <Harald_Ums@hotmail.com> wrote in message
> news:%23tDEIzZhGHA.4304@TK2MSFTNGP05.phx.gbl...
>>I am doing:
>> PS C:\> ls C:\WINDOWS\system32\drivers\etc | ft LastWriteTime,FullName
>>
>> LastWriteTime FullName
>> ------------- --------
>> 23.08.2001 14:00:00 C:\WINDOWS\system32\drivers\etc\hosts
>> 23.08.2001 14:00:00 C:\WINDOWS\system32\drivers\etc\lmho...
>> 23.08.2001 14:00:00 C:\WINDOWS\system32\drivers\etc\netw...
>> 23.08.2001 14:00:00 C:\WINDOWS\system32\drivers\etc\prot...
>> 23.08.2001 14:00:00 C:\WINDOWS\system32\drivers\etc\serv...
>
> Try:
>
> ls C:\WINDOWS\system32\drivers\etc | ft LastWriteTime,FullName -wrap -auto
>
Skip that, it wraps on the column. Try this:
ls C:\WINDOWS\system32\drivers\etc |
ft -auto LastWriteTime,LastAccessTime ,FullName |
out-file -width 350 foo.txt
For some reason I thought that format-table had a "width" parameter but it
doesn't seem to in RC1R. I guess it just assumes the console width and
doesn't allow it to be changed. I guess it doesn't make sense considering
that format-table is meant for console output.
--
Keith |