Hi all,
I am new to this forum and thought I might post a question.
I work in an Australian Government organisation and help out with the LAN. We are using windows NT. I am trying to write a batch file to delete users temporary internet files from each users NTPROFILE.
How do I write the batch file so that it search's each uers profile for a folder called Temporary Internet Files and then deletes the folder.
Basically I want the batch file to search the users drive (which is I Drive)
Users Name/Ntprofile/localsettings/temporary internet files
Hope this is not to confusing
Thanks
Jason
Help request writing a batch file to delete folders
Moderators: Dorian (MJT support), JRL
-
- Newbie
- Posts: 2
- Joined: Tue Mar 15, 2005 3:07 pm
DeleteFile>I:/%USER_NAME%/Ntprofile/local settings/temporary internet files/*.*
MJT Net Support
[email protected]
[email protected]
-
- Newbie
- Posts: 2
- Joined: Tue Mar 15, 2005 3:07 pm
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
You could compile the file from Support and set it up in Startup folder for each machine. That would empty the individual's folder everytime a user logs in.
Better choice would be to have it execute on shutdown so the next backups would not be burdened with these temp files.
Better choice would be to have it execute on shutdown so the next backups would not be burdened with these temp files.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!