Ms-dos question

Jim Richards jrichards at lib.naperville.il.us
Fri Apr 17 11:53:26 EDT 1998


> We run resident Windows95 on an NT network.  I want to delete
> all items in the cache every time the system is rebooted.  I have edited
> the autoexec.bat file to include
> 
> del c:\progra~1\netscape\naviga~1\cache\*.*
> 
> I did this a long time ago at another institution and it worked well.
> Following the *.* I included a switch such as (I can't remember exactly)
>  |y
> /y
> \y
> 
> Now I can't get this to work!  (At the other place we were 
> running 16 bit software).  Does anyone know the switch that
> will tell DOS 'Yes' to delete all files in the cache rather
> than prompting for each file?
> 

Try this in autoexec:

ECHO Y | DEL c:\progra~1\netscape\naviga~1\cache\*.*

Hope this helps!

{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}
 Jim Richards
 Systems Administrator
 Naperville Public Libraries          Voice: (630)961-4100 x241
 200 W. Jefferson Ave.                    Fax: (630)961-4117
 Naperville, IL  60540-5351
{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}{}


More information about the Web4lib mailing list