Re: Group Policy control of cleanmgr.exe
Chris Dove wrote:
I use a login script
del /q %temp%\*.*
runs every time they login.
Hi,
Here is a command line that will delete all files and subfolders in the
temp folder, but not the temp folder itself (note, will not work on
Win95, Win98 or WinME):
cd /d "%temp%" && rd . /s /q
--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx
.
Relevant Pages
- Re: Search Not working on LSP extension files
... > temp folder ... It's a *much* better search tool as well... ... Agent Ransack can save the search result to a file, as text, ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ... (microsoft.public.windowsxp.general) - Re: 811493 and Q817287
... Then I went to the WU Temp folder where I found the ... Did you reboot after the renaming of Catroot2?. ... How to check the Cryptographic service is also described here: ... Microsoft MVP Scripting and WMI, ... (microsoft.public.windowsxp.security_admin) - Re: Logon script
... MVP Windows Server - Networking ... > I`ve create a script that deletes ALL FILES from the TEMP folder into ... > there are a lot of SUBFOLDERS in TEMP folder. ... What is the command to delete all folders? ... (microsoft.public.windows.server.general) - Logon script
... It works well, it`s deleting everyting that`s int the TEMP folder, but there ... I need a command to delete all subfolders, ... (microsoft.public.windows.server.general) - Re: Help!!!
... > the droves that have a temp folder, I need to limit it to just c:\temp even ... > if anyine can help me out it would be great. ... Set colfiles = objWMIService.ExecQuery _ ... Microsoft MVP Scripting and WMI, ... (microsoft.public.windows.server.scripting) |
|