Petri IT Knowledgebase Forums
 

Petri.co.il forums Home Forums Start Page Forums Frequently Asked Questions FAQ Member List Members List
Go Back   Petri IT Knowledgebase Forums > Windows Scripting > DOS Command Shell
Petri.co.il is happy to award auglan the title of Most Valuable Member !!!
Register Calendar Calendar Search Petri IT Knowledgebase Forums Search Todays Posts Today's Posts Mark Forums Read

Notices

removing 3ds max temp files using GPO

removing 3ds max temp files using GPO

this thread has 2 replies and has been viewed 660 times

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 22nd September 2012, 17:47
ahmedvolks's Avatar
ahmedvolks ahmedvolks is offline
Casual
Casual
 
 Join Date: Sep 2012
  6 month star
 Location: Egypt
 Posts: 2
 Reputation: ahmedvolks is on a distinguished road (10)
Post removing 3ds max temp files using GPO

Hi all,
As a start i was reading this post:
(Script to delete Windows temp files via Scheduled Tasks)
and i like it and i want to do some more removes because i'm using 3dsmax on about 60 machine, and i need to remove the the program temp files too.
My batch file code is,


Code:
echo off
rd /s /q C:\Users\%username%\AppData\Local\Temp
c:\>cd c:\Users\%username%\AppData\Local\Autodesk\3dsMax\2011 - 64bit\enu\temp
rd /s /q C:\Users\%username%\AppData\Local\Autodesk\3dsMax\2011 - 64bit\enu\temp
rd /s /q C:\%Windir%\Temp
Can i use the code in the last code Rems was made and i need to add the 3DS MAX two directories.

Last edited by Rems; 23rd September 2012 at 14:05..
  #2  
Old 22nd September 2012, 18:34
Ossian Ossian is online now
Administrator
 
 Join Date: Nov 2003
  6 month star 12 month star
 Location: Bonnie Scotland
 Posts: 15,107
  Send a message via Skype™ to Ossian
 Reputation: Ossian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud ofOssian has much to be proud of (1300)
Default Re: removing 3ds max temp files using GPO

Moved to scripting forum for better response
__________________
Tom Jones
MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
PhD, MSc, FIAP, MIITT
IT Trainer / Consultant
Ossian Ltd
Scotland

** Remember to give credit where credit is due and leave reputation points where appropriate **
  #3  
Old 23rd September 2012, 14:29
Rems's Avatar
Rems Rems is offline
Moderator
 
 Join Date: Mar 2005
  6 month star 12 month star
 Location: NL
 Posts: 2,265
 Reputation: Rems is a splendid one to beholdRems is a splendid one to beholdRems is a splendid one to beholdRems is a splendid one to beholdRems is a splendid one to beholdRems is a splendid one to beholdRems is a splendid one to beholdRems is a splendid one to behold (903)
Default Re: removing 3ds max temp files using GPO

If the path contains embedded spaces, enclose it in quotation marks ["]

"%LOCALAPPDATA%\Autodesk\3dsMax\2011 - 64bit\enu\temp"


/Rems
__________________

This posting is provided "AS IS" with no warranties, and confers no rights.

__________________

** Remember to give credit where credit's due **
and leave Reputation Points for meaningful posts
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why to delete temp files? charlsteve Windows 2000 Pro, XP Pro 3 11th February 2009 13:53
Temp Files janetb Windows 2000 Pro, XP Pro 11 9th April 2008 22:25
Script to delete all windows temp files help Matt_Cline General Scripting 4 25th January 2008 20:11
Deleting Temp Files in User Profiles with VBS Lan General Scripting 30 9th November 2007 16:54
38948Kb DSTxx.Temp files in Winnt Temp Directory SteveR Exchange 2000 / 2003 4 21st December 2006 14:00


All times are GMT +3. The time now is 12:01.

Steel Blue 3.5.4 vBulletin Style ©2006 vBEnhanced
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
 

Valid XHTML 1.0!   Valid CSS!

Copyright 2005 Daniel Petri