All Questions
3
questions
1
vote
2
answers
280
views
Powershell: Dir /s - Remove Repeated Folders
Situation:
In Powershell, I'm using:
$folders = dir -s C:\Users\Name\Downloads\*.ttf | Select Directory
foreach ($folder in $folders)
{
echo $folder
}
To display folders whose contents contain ...
0
votes
1
answer
4k
views
Is there a Window's Command Line Option to Show the Sizes of Directories
When I do a dir command it, gives this information:
02/11/2015 01:39 PM <DIR> bar
11/11/2014 07:22 AM <DIR> buz
02/12/2015 01:35 PM 140,660,736 foo.sdf
01/...
-1
votes
2
answers
631
views
Find folders called SS, return size of folder
I am able to find all folders called "SS" (superseded) in a hierarchy and list out the location of each one.
I have been using this code to pipe out the list.
DIR /AD /B "SS" /S > SS_Folder_List.txt
...