Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows Temp files.

Posted on 2000-05-02
3
Medium Priority
?
208 Views
Last Modified: 2013-12-28
Every time a user launches anything from withing Lotus Notes an exact replica of the file is stored in the windows temp file. The temp file can reach 40mb at times.  Everyone knows the problems associated with having to much in the windows temp file. Rather than installing a program like Tweak UI on each users PC, (which could be very dangerous) what would be the best way to empty the temp file with no user interaction.  
0
Comment
Question by:pbut835581
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 1

Expert Comment

by:RickWillkins
ID: 2770664
perhaps a line in the autoexec bat?

del c:\windows\*.tmp
0
 
LVL 1

Accepted Solution

by:
m_santo earned 800 total points
ID: 2770761
That won't work ... it will prompt the user.  Besides, it's the wrong directory.

You'd have to do:

echo Y | del c:\windows\temp\*.*

However, this won't delete any subdirectories.  To do that, you'd have to delete the entire temp directory, then recreate it.

You could try:

deltree /y c:\windows\temp
md c:\windows\temp

However, I will warn you that some installers will actually leave some items in c:\windows\temp, then reboot in order to complete the installation ... but if these are executed, all the temp files are gone.

Good luck.
0
 

Author Comment

by:pbut835581
ID: 2770841
Thank you!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question