Solved How can I change the windows 'delete' function?

TheStraying11

New member
Local time
10:15 PM
Messages
2
Hi, I was wondering if its possible to have the 'delete' function in windows 7 professional move deleted files to another drive instead of just 'listing them as deleted' to save space on the main drive while still allowing the files to be recovered from a backup drive. I say this because i currently have little space left on my main drive, I have already moved my downloads folder and i'd like to do the same with the recycle bin, I know nothing normally is moved when deleted, but i'd like it to be moved to D:\Deleted
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Professional 64bit.
CPU
i7-4790k
Motherboard
Gigabyte GA-Z97X - Gaming 7
Memory
32GB (4*8, dual channel)
Graphics Card(s)
GTX 980
Hard Drives
2TB Main OS drive,
1.5TB Extra storage drive
PSU
Corsair CX750M
Case
NZXT Phantom 410
Cooling
Swiftech h220-x AIO liquid cooler
Keyboard
Razer deathstalker Ultimate - US
Mouse
Razer Naga Chroma
Internet Speed
Down/Up 100-150/10
Antivirus
McAfee and Malware-Bytes
Browser
Google Chrome
Welcome to the forum.

Windows does not have this feature. I suppose it could be done but would require some rather advanced programming and likely be quite fragile. This isn't really a practical idea.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
HP
OS
Windows 7 Pro 64 bit
CPU
Xeon W3520
Memory
8 GB
Graphics Card(s)
Nvidia Geforce 210
Have you considered a more manual option ?

Use the delete/recycle bin system as usual and then at the end of each day open the recycle bin and drag the contents you wish to retain (or All), to your location D:\deleted you could even add a subfolder for each Day/Week/Or Month to improve retrieval later if required.

I have manually checked and manually moving the files from the recycle bin works (on latest Windows 10 pro )

You would also have to decide what happens with duplicate files if the same named file is deleted in the same period more than once, also some files are too large for the recycle Bin these you would have to manually move to your D:\deleted and not deleted which would actually delete them

It may be possible to achieve this programmatically, with Powershell or other scripting system and a scheduled task at a convenient time / Log-on or Log-Off Etc. but this would be beyond my skillset - there are a number of powershell script libraries across the net which may have what you need
 
Last edited:

My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
It may be possible to achieve this programmatically, with Powershell or other scripting system and a scheduled task at a convenient time / Log-on or Log-Off Etc. but this would be beyond my skillset - there are a number of powershell script libraries across the net which may have what you need

I suppose i could try this solution, Thank you for your replies. though i really had hoped this could be done, i guess i was hoping too much of microsoft... Never mind, Thank you for the suggestion, I'll have to find out what languages can be used to do this as i know very few but it is a possibilty, Again, thanks :)

EDIT:
For anyone looking for a solution, i used the batch script below

Code:
SET Today=%Date:~10,4%%Date:~4,2%%Date:~7,2%
mkdir D:\Deleted\%Today%
move C:\$Recycle.Bin\S-1-5-21-3881916912-2168856619-4228707496-1000\* D:\Deleted\%Today%
SET Today=

And set it to run on startup. You may need to change the directories after 'mkdir' and 'move' to suit your needs if you decide to use this script yourself.

Source
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Build
OS
Windows 7 Professional 64bit.
CPU
i7-4790k
Motherboard
Gigabyte GA-Z97X - Gaming 7
Memory
32GB (4*8, dual channel)
Graphics Card(s)
GTX 980
Hard Drives
2TB Main OS drive,
1.5TB Extra storage drive
PSU
Corsair CX750M
Case
NZXT Phantom 410
Cooling
Swiftech h220-x AIO liquid cooler
Keyboard
Razer deathstalker Ultimate - US
Mouse
Razer Naga Chroma
Internet Speed
Down/Up 100-150/10
Antivirus
McAfee and Malware-Bytes
Browser
Google Chrome
Back
Top