Hide Clipart | Topics | Search
Log Out | Register | Edit Profile
Last 30 mins | 1 | 2

DIR dos cmd question

Chalanachithram.com DB » New TF Industry Related » Archive through March 05, 2015 » DIR dos cmd question « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Mandharam
Side Hero
Username: Mandharam

Post Number: 2137
Registered: 02-2008
Posted From: 122.172.237.152

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, March 04, 2015 - 12:22 pm:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Aquarian:




linux lo aithe ..one line lo cheyyochu
du -sh *
Top of pagePrevious messageNext messageBottom of page Link to this message

Aquarian
Junior Artist
Username: Aquarian

Post Number: 832
Registered: 12-2012
Posted From: 69.60.82.14

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, March 04, 2015 - 11:05 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Rudraksha:

diruse /S dir-name




thank you
Top of pagePrevious messageNext messageBottom of page Link to this message

Rudraksha
Side Hero
Username: Rudraksha

Post Number: 4360
Registered: 07-2012
Posted From: 32.214.184.26

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, March 04, 2015 - 10:57 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

http://support.microsoft.com/kb/927229

akkada diruse download chesi install chesi enjoy. inka chala additional tools unnay if interested

diruse /S dir-name
Top of pagePrevious messageNext messageBottom of page Link to this message

Nakhral
Junior Artist
Username: Nakhral

Post Number: 48
Registered: 11-2012
Posted From: 69.47.30.180

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, March 04, 2015 - 10:54 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

using powershell can be done like this:
$logfile=c:\filesize.log
$startFolder="c:\windows\fonts"
$allItems=Get-ChildItem $startFolder | Where-Object {$_.PSIsContainer -eq $True} | Sort-Object

foreach ($f in $allItems)
{
$size = Get-ChildItem("$startFolder\" + $f.Name) -recurse | Measure-Object -property length -sum
"$startFolder\$f - " + {0:N2}" -f {$size.sum / 1MB) + " MB" >> $logfile

}
Top of pagePrevious messageNext messageBottom of page Link to this message

Kuyyo_morro
Hero
Username: Kuyyo_morro

Post Number: 16852
Registered: 02-2011
Posted From: 173.169.22.176

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, March 04, 2015 - 10:45 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

https://technet.microsoft.com/en-us/library/cc786699%28v=ws. 10%29.aspx
Top of pagePrevious messageNext messageBottom of page Link to this message

Aquarian
Junior Artist
Username: Aquarian

Post Number: 831
Registered: 12-2012
Posted From: 69.60.82.14

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, March 04, 2015 - 10:43 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)


Kuyyo_morro:

dir C:\Windows\Fonts




this will give me sizes of files but not folders...i think i have to do it manually..sacchindhi gorre..inko 2 days sesthane vunta
Top of pagePrevious messageNext messageBottom of page Link to this message

Kuyyo_morro
Hero
Username: Kuyyo_morro

Post Number: 16851
Registered: 02-2011
Posted From: 173.169.22.176

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, March 04, 2015 - 10:39 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

command line lo dir C:\Windows\Fonts
Top of pagePrevious messageNext messageBottom of page Link to this message

Aquarian
Junior Artist
Username: Aquarian

Post Number: 830
Registered: 12-2012
Posted From: 69.60.82.14

Rating: N/A
Votes: 0 (Vote!)

Posted on Wednesday, March 04, 2015 - 10:36 am:   Insert Quote Edit PostDelete PostView Post/Check IPPrint Post   Move Post (Moderator/Admin Only)Ban Poster IP (Moderator/Admin only)

I have 250 folders, and need to get the size of each folder, is there a way to get that other than manually right clicking each folder and get the size, i cannot use any tools like folder size, trying to do it thru cmd prompt by using

dir /s > list.txt

this is giving me too much detailed file which is not worth.

manual ga mottam cheyyali ante baddakam

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image HASH(0x90183c4){Movie Clipart}
Show / hide regular icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Show / Hide Filmy icons selection options

Click on following links to open cliparts by Alphabetical Order

 A   B   C   D   E   F   G   H   I   J   K   L   M  

 N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

Username: Posting Information:
This is a public posting area. Enter your username and password if you have an account. Otherwise, enter your full name as your username and leave the password blank. Your e-mail address is optional.
Password:
E-mail:
Options: Enable HTML code in message
Automatically activate URLs in message
Action: