Results 1 to 2 of 2

Thread: Vista, 7 Trace the biggest files

  1. #1
    Zurine Rogelio is offline Senior Member
    Join Date
    May 2011
    Posts
    206
    Rep Power
    2

    Default Vista, 7 Trace the biggest files

    You are searching for the biggest space hog in a particular folder structure, but wish there was a tool or method with which you can identify the biggest files on a drive.

  2. #2
    Leya Dorian is offline Senior Member
    Join Date
    May 2011
    Posts
    203
    Rep Power
    2

    Default

    This job is easily possible with Vistal7 with Windows tools. Use Windows PowerShell for that, which you can run using the search field of the Start menu. Thus you can automate the respective query by sorting and filtration. Principally, we want to first generate a list of all the files in a folder including the sub-folders. Then sort this list as per the size of the file and finally allow only the first elements of it to be displayed. In PowerShell you can connect all the necessary commands and create a single line to type in. You can generate the list of all the files of the respective folder including the sub-folder with the command 'Get-Childltem [folder]-recurse'. The parameter '-recurse' includes all sub-folders in the search. Instead of 'Get-Child Item' you can also use the usual alias 'dir' (directory). In the next step sort the contents in descending sequence as per the size of the file via 'Sort-Object length -descending'. You must connect both the commands with the pipe symbol 'I' in a line, so that the result of the first command is at disposal of the second command. Similarly filter the first twenty events with 'Select- bject-first 20', thus showing you the 20 iggest files. Finally add the command riteOutput' for display. The complete ommand is as follows: Get-childitem [folder] -recurse I sort*bject length -descending I select-object first 20 I write-output You can copy the complete command from a text file in the Iipboard, instead of entering it newly. hen change to PowerShell. Paste the ontent by a right click with the mouse stead of the usual button combination Ctrl]+[V].

Similar Threads

  1. World's biggest laptop creator breaks batch record
    By Cody Johnson in forum Latest Hardware News
    Replies: 0
    Last Post: 07-09-2010, 06:31 AM
  2. How to Trace and secure encrypted files on the system
    By Leya Jovena in forum Windows Vista
    Replies: 1
    Last Post: 02-16-2010, 07:11 AM
  3. Microsoft Cleans up Bugs after Biggest Patch Release
    By Domenic Smith in forum Latest Hardware News
    Replies: 0
    Last Post: 11-02-2009, 07:51 AM
  4. Windows Vista's biggest problem
    By adger47 in forum Windows Vista
    Replies: 0
    Last Post: 09-15-2009, 08:31 AM
  5. RV870 - the biggest change since the R600
    By Felipe Garabina in forum Latest Hardware News
    Replies: 0
    Last Post: 08-18-2009, 05:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
SEO by SubmitEdge

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48