Go Back   CodingForums.com > :: Computing & Sciences > Computer/PC discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 10-14-2002, 08:50 PM   PM User | #1
Quiet Storm
Regular Coder

 
Join Date: Jun 2002
Location: Beyond Lament
Posts: 424
Thanks: 0
Thanked 0 Times in 0 Posts
Quiet Storm is an unknown quantity at this point
autoexec.bat: DEL C:\folder\sub\*.*

How do I get WinME to delete the contents of folders (temp/recent) on startup?

I thought putting DEL C:\folder\sub\*.* in the autoexec.bat file would do it, but it doesn't.

I saw it done before, but can't remember how...

__________________
Quíet Storm Designs ~ Art is not what you see, but what you make others see.
· the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·
Quiet Storm is offline   Reply With Quote
Old 10-14-2002, 11:20 PM   PM User | #2
Mr J
Senior Coder

 
Join Date: Aug 2002
Location: UK
Posts: 2,789
Thanks: 2
Thanked 14 Times in 14 Posts
Mr J is on a distinguished road
If you have the appropriate files just place a shortcut to them in the startup folder

If you haven't got them let me know and I'll post them here

Last edited by Mr J; 10-14-2002 at 11:22 PM..
Mr J is offline   Reply With Quote
Old 10-14-2002, 11:22 PM   PM User | #3
Quiet Storm
Regular Coder

 
Join Date: Jun 2002
Location: Beyond Lament
Posts: 424
Thanks: 0
Thanked 0 Times in 0 Posts
Quiet Storm is an unknown quantity at this point
I don't really need to access them, for security I'd like them to be deleted automaticly on startup... like before windows actually loads.
__________________
Quíet Storm Designs ~ Art is not what you see, but what you make others see.
· the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·
Quiet Storm is offline   Reply With Quote
Old 10-14-2002, 11:25 PM   PM User | #4
Mr J
Senior Coder

 
Join Date: Aug 2002
Location: UK
Posts: 2,789
Thanks: 2
Thanked 14 Times in 14 Posts
Mr J is on a distinguished road
programs in the startup folder are started as windows start which basically is the same.
Mr J is offline   Reply With Quote
Old 10-15-2002, 11:18 AM   PM User | #5
tommysphone
Regular Coder

 
Join Date: Jun 2002
Posts: 262
Thanks: 0
Thanked 0 Times in 0 Posts
tommysphone is an unknown quantity at this point
Why not do it on exit?

I practice this religiously. Alway clear my recent files off before closing down my pc.
__________________
Therapy is expensive, popping bubble wrap is cheap, you choose.
tommysphone is offline   Reply With Quote
Old 10-24-2002, 02:36 AM   PM User | #6
jscript_junkie
New Coder

 
Join Date: Jun 2002
Posts: 80
Thanks: 0
Thanked 0 Times in 0 Posts
jscript_junkie is an unknown quantity at this point
You have the wrong text in your autoexec.bat:

deltree/y c:\folder\sub\

The "/y" stops the prompt asking you if you're sure you want to delete it. It deletes before Windows loads.

You could also do:

del c:\windows\recent\*.lnk to delete recent files

Hope this helps!


Wow, it's been a long time since I've been here..
jscript_junkie is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:58 AM.


Advertisement
Log in to turn off these ads.