Ms-dos question

rpage at okway.okstate.edu rpage at okway.okstate.edu
Fri Apr 17 21:25:01 EDT 1998


   Hi! It would be easier (and cleaner) to do:
   
      echo y | del c:\progra~1\netscape\naviga~1\cache\*.*
   
   or better yet:
   
      deltree /y c:\progra~1\netscape\naviga~1\cache\ > null:    [v3.x] or
   
      deltree /y c:\progra~1\netscape\users\<ID>\cache\ > null:  [v4.x]
   
        **where you replace <ID> with your installed profile name**
   
   In addition, we use the same syntax to clean the temp directory on boot.
   
   --Richard
   
   =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
    Richard M. Page                         | Voice      (405) 744-5347
    Head, Library Systems Department        | Fax        (405) 744-7579
    224A Library, Oklahoma State University | 
    Stillwater, OK 74078-1070               | E-Mail: rpage at okway.okstate.edu
   =+=+=+=+=+=+=+=+=+=+= http://el0455.lib.okstate.edu/ +=+=+=+=+=+=+=+=+=+=+=

______________________________ Reply Separator _________________________________
Subject: Re: Ms-dos question 
Author:  <dgrillo at acad.suffolk.edu> at SMTP
Date:    4/17/98 4:17 PM

> del c:\progra~1\netscape\naviga~1\cache\*.* 
> 
> Now I can't get this to work!  (At the other place we were 
   
        Ah, good 'ol DOS.  This is what I usually do:
   
del c:\progra~1\netscape\naviga~1\cache\*.* < c:\abc
   
I then create a file called abc in the root that just has one line, the 
letter "Y" (no quotes) and a hard return.  What this does is pass file to 
the del command.  The del command gets a y, and deletes all the files. 
(You can came the abc file whatever you want.  I call it Y, but then the 
example gets confusing.)
   
Good luck with it.
   
-Dominick
   
   
Dominick Grillo
dgrillo at acad.suffolk.edu
Computer and Electronic Services Librarian 
Suffolk University Law School
(617) 573-8605
   
   




More information about the Web4lib mailing list