Solved How to view full list of "Folders" only not all files


SweetHeart88

New member
Local time
2:29 AM
Posts
10
OS
Windows 11
I want to view all folders that are inside each main folder on my "External Hard Drive" but can't figure out how to. Here is what I'm trying to do:
(1) I left click on the external hard drive the drive opens I see (2) folders and then I open the first folder inside the File Explorer in a new tab.
(2) Now I have (325) items. Which are each "Movies" here is how the movies look: "Title (YEAR)" and so on for each one until you reach the end which is currently at (325).

Inside each of the "Main Movie Folders" are (4) extra folders:
Folder> .actors "Inside could be random number of images based on "Movie" and amount of actors/actresses" ".jpg files"
Folder> extrafanart "Same as above"
Folder> extrathumb "Same as above"
Folder> Random Text < This needs to be changed to "Featurettes" without the double quotes "Inside this folder is only 1 file a .mp4 file" which will be renamed "Trailer".

I'm trying to find a way to see all the folders inside each main folder at once but can't figure out how to.

When I go to "File Explorer" after opening the new tab I see (325) folders I would like to be able to see the inside folders as well. I have "Check-box's" selected on the "File Explorer" so the plan is to be able to see all the folders like this:
Folder 1 "Movie Title (YEAR)"
Folder 2 ".actors"
Folder 3 "extrafanart"
Folder 4 "extrathumbs"
Folder 5 "Random Text"
Folder 6 "Movie title (YEAR)"
Folder 7 ".actors"
and repeat until all folders are shown. And Then I would "Check the Check-box's" for the "Random Text" Folders and "Rename" all them folders at once "Featurettes". And then once all that would be done I would rename all the file inside each folder the same word "Trailer.mp4". And then all is done.

File explorer would be a easy way for me to do this if possible. Or is there a free program that has a way to use "Check-box's" so I can select multiple folders at once. Basically I need to find and select multiple folders all from the "Movies" folder inside the "G" drive and then rename all the .mp4 files that will appear inside the newly renamed "Featurettes" folder. I hope this makes sense if not is there a way to do a batch file script to look for the folders inside each main movie folder and exclude the ".actors", "extrafanart" and "extrathumbs" and rename the 4th folder with random text. I really hope to find a way to to this so I don't have to do it folder by folder file by file.
 
Windows Build/Version
23H2

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Ideapad 1I
You can easily do this from a command prompt.

Run the command dir /ad to list only directories (folders). Use dir /ad /s to include subdirectories.

Another way to show the same information, but in a really nice, clean format is to simply issue the tree command.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
Here's how I would do it in PowerShell. The top line assumes the root folder is G:\Movies, so change that to whatever the root folder actually is. By that, I mean the folder that contains the 325 movies.

Also, the line that says Rename-Item doesn't actually do anything, for safety reasons. It will just show you what it would do. If you run this script and are satisfied it will do what you want, take off the -WhatIf.

Powershell:
# Get the directories inside G:\Movies
Get-ChildItem -Path "G:\Movies" -Directory -ErrorAction SilentlyContinue |
ForEach-Object {
    # Get the directories inside each folder.
    Get-ChildItem -Path $_.FullName -Directory |
    # Exclude certain folder names.
    Where-Object { $_.Name -notin @('.actors', 'extrafanart', 'extrathumbs') } |
    # Rename the folder to Featurettes.
    Rename-Item -NewName 'Featurettes' -WhatIf
}
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 [rev. 3447]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical Keyboard with Cherry MX Clears
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical Keyboard - Cherry MX Clear
Here's how I would do it in PowerShell. The top line assumes the root folder is G:\Movies, so change that to whatever the root folder actually is. By that, I mean the folder that contains the 325 movies.

Also, the line that says Rename-Item doesn't actually do anything, for safety reasons. It will just show you what it would do. If you run this script and are satisfied it will do what you want, take off the -WhatIf.

Powershell:
# Get the directories inside G:\Movies
Get-ChildItem -Path "G:\Movies" -Directory -ErrorAction SilentlyContinue |
ForEach-Object {
    # Get the directories inside each folder.
    Get-ChildItem -Path $_.FullName -Directory |
    # Exclude certain folder names.
    Where-Object { $_.Name -notin @('.actors', 'extrafanart', 'extrathumbs') } |
    # Rename the folder to Featurettes.
    Rename-Item -NewName 'Featurettes' -WhatIf
}
This did exactly what I needed it to do. I will keep this code for later inside the notepad on my PC with some notes in case I need to do another big job with renaming the featurettes folder.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Ideapad 1I
Is there a way to similarly rename multiple files the same names. I now need to name each file inside the "Featurettes" folders the same name which would be "Trailer". Is there another quick way to do this.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Ideapad 1I
Powershell:
Get-ChildItem -Path "G:\Movies" -Filter 'Featurettes' -Directory -Recurse -ErrorAction SilentlyContinue |
ForEach-Object {
    Get-ChildItem -Path $_.FullName -Filter '*.mp4' | Rename-Item -NewName 'Trailer.mp4' -WhatIf
}
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 [rev. 3447]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical Keyboard with Cherry MX Clears
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical Keyboard - Cherry MX Clear

My Computers

System One System Two

  • OS
    Win 11 Home ♦♦♦22631.3527 ♦♦♦♦♦♦♦23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 4702)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Internet Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Mouse
    Logitech Optical M-BT96a
    Keyboard
    Logitech Classic Keybooard 200
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 13 years?
Powershell:
Get-ChildItem -Path "G:\Movies" -Filter 'Featurettes' -Directory -Recurse -ErrorAction SilentlyContinue |
ForEach-Object {
    Get-ChildItem -Path $_.FullName -Filter '*.mp4' | Rename-Item -NewName 'Trailer.mp4' -WhatIf
}
This bit of code also did the trick thank you for the help. Now all of the "Trailer Folders" have been renamed and the ".mp4 Files" inside the folders have also been renamed. This was a big help.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Ideapad 1I
Awesome, glad I could help. :-)
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 23H2 [rev. 3447]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical Keyboard with Cherry MX Clears
  • Operating System
    Linux Mint 21.2 (Cinnamon)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC8i5BEH
    CPU
    Intel Core i5-8259U CPU @ 2.30GHz
    Memory
    32 GB
    Graphics card(s)
    Iris Plus 655
    Keyboard
    CODE 104-Key Mechanical Keyboard - Cherry MX Clear

Latest Support Threads

Back
Top Bottom