Batch script for managing files...


TheMystic

Well-known member
Power User
VIP
Local time
1:23 AM
Posts
698
OS
Windows 11
Hello Community!

I want to create 3 batch files as follows:

1. To move all files from one location to another.
2. To organize files within a folder. For example, organize files within the Downloads folder into multiple sub-folders based on type of file.
3. To delete (to recycle bin) all files that meet multiple specified criteria. For example, files starting with "._" and having a size smaller than 15KB, etc.

Would be great if someone can create and share these 3 batch files?

Thanks.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Envy dv7
    CPU
    Intel Core i7 3630QM
    Motherboard
    HP
    Memory
    16 GB
    Graphics Card(s)
    Intel HD Graphics 4000 & Nvidia GeForce GT 635M
    Sound Card
    IDT High Definition
    Screen Resolution
    1080p
    Hard Drives
    1 TB Crucial MX500 on bay 1.
    1 TB Seagate HDD on bay 2.
    Antivirus
    Windows Defender

TheMystic

Well-known member
Power User
VIP
Thread Starter
Local time
1:23 AM
Posts
698
OS
Windows 11
Solution for 1:

1. robocopy

2. xcopy

Will update this post when I find solutions for 2 & 3.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    HP Envy dv7
    CPU
    Intel Core i7 3630QM
    Motherboard
    HP
    Memory
    16 GB
    Graphics Card(s)
    Intel HD Graphics 4000 & Nvidia GeForce GT 635M
    Sound Card
    IDT High Definition
    Screen Resolution
    1080p
    Hard Drives
    1 TB Crucial MX500 on bay 1.
    1 TB Seagate HDD on bay 2.
    Antivirus
    Windows Defender
Top Bottom