![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Formating with Compare-Object I am trying to compare two text files with directory listings in each. The files compare just fine but I am getting a problem with the output from Compare-Output. The problem is that is truncates the line when it gets to around 56 characters, with a '...' on the end. Does anyone know how to get it to show th complete line? Thanks Matt |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Formating with Compare-Object On Oct 24, 7:56*am, "Matt" <matt...com> wrote: Quote: > I am trying to compare two text files with directory listings in each. *The > files compare just fine but I am getting a problem with the output from > Compare-Output. > > The problem is that is truncates the line when it gets to around 56 > characters, with a '...' on the end. > > Does anyone know how to get it to show th complete line? > > Thanks > > Matt screen Ending with Format-List should show you what you want. <your commands>|fl |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Formating with Compare-Object Ok, that helps. The line is longer, but the really long lines still get truncated. I am trying to Compare two text files with filenames and paths. Some of the paths are very long, so the lines get truncated. eg . c:\this\is\a\very\long\path\to\a\file\somewhere\on\the\file\system\someplace\or\another\file.txt gets truncated to c:\this\is\a\very\long\path\to\a\file\somewhere\on\the\file\system\someplace\or\anot... Without the Format-List it comes out as c:\this\is\a\very\long\path\to\a\file\som... So, I am trying to get it to include the whole line. Any ideas? Thanks Matt "RickB" <rbielaws@xxxxxx> wrote in message news:e7d6be2a-c6e9-4f57-953f-f107a0c664af@xxxxxx On Oct 24, 7:56 am, "Matt" <matt...com> wrote: Quote: > I am trying to compare two text files with directory listings in each. The > files compare just fine but I am getting a problem with the output from > Compare-Output. > > The problem is that is truncates the line when it gets to around 56 > characters, with a '...' on the end. > > Does anyone know how to get it to show th complete line? > > Thanks > > Matt screen Ending with Format-List should show you what you want. <your commands>|fl |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| compare-object | PowerShell | |||
| compare object | PowerShell | |||
| Compare-Object and Get the name of object/File? | PowerShell | |||
| Testing object arrays using Compare-Object and -contains | PowerShell | |||
| Adding canonical aliases for Compare-Object, Measure-Object, New-Object | PowerShell | |||