Try this: for /f "Tokens=*" %%i in ('dir \\trmnxsrv\wtsprofiles$ /B') do echo Y | del \\trmnxsrv\wtsprofiles$\%%i\tempor~1\*.* /S > F:\logs\cleanall\tmpienx1.txt -----Original Message----- From: Michael Boggan [mailto:MBoggan@xxxxxxxxxxx] Sent: quarta-feira, 4 de Setembro de 2002 17:12 To: THIN (E-mail) Subject: [THIN] Batch file I am trying to find a way (without learning to program with kixstart or anyother) to write a batch file that will delete all temporary internet files or directories on our storage server. Has anyone done this before? _________________________________ Michael Boggan Network Engineer/Citrix Admin Virtual Desktop Inc. Dallas, Texas Ph: (972) 960-6400 Fax: (972) 960-6445 email: mboggan@xxxxxxxxxxx http://www.virtualdesktopinc.com _________________________________ For Technical Support please send email to support@xxxxxxxxxxx ********************************************** This weeks sponsor 99Point9.com 99Point9 helps solve your unresolved technical server-based questions, issues and incidents. http://www.99point9.com *********************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link. http://thethin.net/citrixlist.cfm ---------- This message may contain confidential information or privileged material, and is intended only for the individual(s) named. If you are not in the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ********************************************** This weeks sponsor 99Point9.com 99Point9 helps solve your unresolved technical server-based questions, issues and incidents. http://www.99point9.com *********************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link. http://thethin.net/citrixlist.cfm