?
Solved

Auto Empty Recycle Bin?

Posted on 1998-10-16
6
Medium Priority
?
905 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

 
LVL 2

Accepted Solution

by:
Billy_Pilgrim earned 300 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

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

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

Configuring Remote Assistance for use with SCCM
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

765 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