Solved

Auto Empty Recycle Bin?

Posted on 1998-10-16
6
891 Views
Last Modified: 2013-12-29
I would like to have the recycle bin in Win 95 automatically emptied each time I reboot or shut off my machine. Does anyone know if this is possible and if so how would I go about doing it?
Thanks
0
Comment
Question by:wyshbone
6 Comments
 
LVL 10

Expert Comment

by:MasseyM
ID: 1725554
Nothing at startup and shutdown, but you can choose to not have it go there at all... right click on the bin and choose properties...
0
 

Expert Comment

by:McDorman
ID: 1725555
Wyshbone,

Like MasseyM indicates, in your Recycle properties, you can select to have the trash emptied directly without going to the recycle bin.  This in escense elliminates the need to empty at shutdown or startup!  Would that solve your quest?

McD
0
 
LVL 6

Expert Comment

by:ckayter
ID: 1725556
I can appreciate wanting to have stuff deleted during the current session in the Recycle Bin (just in case...) and then having them gone when you start up the machine tomorrow...

This functionality is built in to Win98 (Disk Cleanup Utility), but as far as I know, there's no way to do this in Win95. I even checked Tweak UI (a free super add-in from MS), and you can clear all the recently used file lists, but there's nothing about emptying the recycle bin.

I might suggest that in the Recycle Bin properties, set it to a very low amount of disk space. This isn't the same as every time you shut down or start up, but it would limit the amount of space the RB uses. When the max size is reached, RB starts removing the oldest files (in terms of when they were deleted) first.

Colleen

0
Why spend so long doing email signature updates?

Do you spend loads of your time carrying out email signature updates? Not very interesting are they? Don’t let signature updates get you down. Let Exclaimer Cloud - Signatures for Office 365 make managing email signatures a breeze.

 
LVL 2

Accepted Solution

by:
Billy_Pilgrim earned 100 total points
ID: 1725557
Yeah, it is possible, and simple:

run notepad
open c:\autoexec.bat

(if there is no c:\autoexec.bat, then make one with the following line:)

add "del c:\recycled\*.*" without the quotes.
save autoexec.bat (if it didn't exist in the first place, then save is as autoexec.bat)

NOTE: if you had to create autoexec.bat, sometimes notepad puts the .txt extension at the end of all files.  Opoen windows explorer, and make sure you have "autoexec.bat" in there.  If you have "autoexec.bat.txt", rename it to "autoexec.bat".  Windows 95 by itself does not require autoexec.bat, but most computers have one.

Every time you reboot, your recycle bin will empty.

BTW, to get rid of everything on the 'documents' menu, add:
"move c:\recent\*.* c:\recycled" without the quotes.  The 'recent' files are just links, and they will be automatically deleted by the recycle bin.  They won't even go there.
0
 

Expert Comment

by:GLangan
ID: 1725558
As Billy_Pilgrim is correct Iwould like this
1. If you have more than one drive you will have to add a line for every drive you have. ei.
del d:\recycled\*.*
del e:\recycled\*.*
ect.
2. You will prompted at boot to confirm delete even if recycle bin is empty
0
 
LVL 2

Expert Comment

by:Billy_Pilgrim
ID: 1725559
Added info--

you won't be asked to confirm deletion if you make the line read:

del /Q c:\recycled\*.*

the /Q switch is a 'quiet' delete, and won't prompt for confirmation on global wildcards (*.*)
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now