CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Computer/PC discussions (http://www.codingforums.com/forumdisplay.php?f=20)
-   -   autoexec.bat: DEL C:\folder\sub\*.* (http://www.codingforums.com/showthread.php?t=8025)

Quiet Storm 10-14-2002 08:50 PM

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...

:confused:

Mr J 10-14-2002 11:20 PM

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

Quiet Storm 10-14-2002 11:22 PM

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.

Mr J 10-14-2002 11:25 PM

programs in the startup folder are started as windows start which basically is the same.

tommysphone 10-15-2002 11:18 AM

Why not do it on exit?
 
I practice this religiously. Alway clear my recent files off before closing down my pc.

jscript_junkie 10-24-2002 02:36 AM

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! :D


Wow, it's been a long time since I've been here..


All times are GMT +1. The time now is 12:48 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.