• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to delete all the files except 1 file in a directory???  RSS feed

 
Ann Toh
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
can anyone tell me how to delete all the file in the directory except that only one file cannot be deleted??? what i mean is i only need 1 file in that directory, the others i do not need so i need to delete it away.
Thanx in advance...
 
Ann Toh
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sorry...
i can solve the prob already...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!