home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.pascal.borland      Borland Pascal was actually pretty neat      2,978 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,443 of 2,978   
   Jochen to All   
   Re: How to clear a directory?   
   01 Mar 05 22:04:43   
   
   From: jotel99@hotmail.com   
      
   hi Jacques   
      
   > How to clear a directory?   
   >   
   > for example   
   > c:\bp\job   
   > In job there are :   
   > file1.txt   
   > file2.jpg   
   > file3.doc   
   > file4.txt   
   >   
   > 1)erase what?  erase('c:\bp\job\*.*') does'nt work of course.   
   > 2)If want to clear only file in txt what to do?   
      
   searchrec - findfirst - findnext are your friends   
   have a look at the help on those items. ctrl-f1 on a word typed in the   
   editor :)   
      
   rmdir to delete the folder - after all files in dir have been deleted   
   before   
      
   greets   
   jo   
      
   --   
   http://radio789.net.ms - Radio 789 - We play it ALL   
   Radiostream: http://stream789.net.ms   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca