Results 1 to 11 of 11
  1. #1
    shirll
    Guest

    Office Tmp files

    We use roaming profiles (nt profiles) and office leaves temporary files in every users profile directory. Each day new temporaries are created. I had one PC with over 3000 office temporary files. We are using Windows 2000 and Office 2000. I contacted Microsoft and their solution was do not have the roaming profile write to the client. This helps but it doesn't stop the files from being created and then written to the users' profile on the server.

  2. #2
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    352
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Office Tmp files

    You need to set up a directory C:temp on each PC. Then you need to set 2 environment variables in your login script by including the lines

    Set TEMP=C:TEMP
    Set TMP=C:TEMP

    The temporary files will then go where they do no harm.

    You may want to include the fiollowing line in your login as well

    Del C:TEMp*.* /Q

    This will clear out the directory each day.
    David Grugeon
    Brisbane Australia

  3. #3
    ileacy
    Guest

    Re: Office Tmp files

    IBD.

    I don't have a W2K system to test this on but I believe you. Amazing that an old DOS feature is still around in W2K.

  4. #4
    shirll
    Guest

    Re: Office Tmp files

    Unfortunately I have no login scripts because I don't know how to make one. I went from Windows 98 clients to Windows 2000. I never learned NT.

  5. #5
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    352
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Office Tmp files

    If you do not have a login script you will neet to put the lines in the Autoexec.bat file on each workstation.
    David Grugeon
    Brisbane Australia

  6. #6
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Cairns, Queensland, Australia
    Posts
    885
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Office Tmp files

    That's 'cos DOS RULZ, OK!

    Now all I have to do is convince the WinNT Kids is the coporate office!!
    Granville

  7. #7
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Office Tmp files

    Hi David:

    What does the /q switch do in

    Del C:TEMp*.* /Q

    Thanks in advance.

  8. #8
    shirll
    Guest

    Re: Office Tmp files

    I setup a logon script but it appears that something is automatically setup in profiles to set the temp folder to be under documents and settingsusername. I'm trying to setup the delete to that folder. At least you got me on the right track. Thank You

  9. #9
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    352
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Office Tmp files

    Hi Phil


    The /Q is for quiet. If you don't have it you get a <font color=red>DOS</font color=red> window which will ask you if you really want to delete all the files in the temp directory. You have to type "Y" and Enter.

    You don't really want to see a <font color=red>DOS</font color=red>window do you?[img]/w3timages/icons/hairy.gif[/img]
    David Grugeon
    Brisbane Australia

  10. #10
    3 Star Lounger
    Join Date
    Jan 2001
    Location
    Brisbane, Queensland, Australia
    Posts
    352
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Office Tmp files

    Hi Shirley

    You could try setting the Word Tools/Options/FileLocations/Autorecover to the new Temp directory.

    The location for most temp files is determined by the environment variables Temp= and Tmp=. Environment variable are held in memory and only exist if something sets them. The something is almost almost always either a .Bat file or the NT equivalent a .Cmd file. These files can be edited with Notepad or anything else.

    To see the environment variables you open the DOS box. (Start/Programs/CommandPrompt) and type in "SET" and press enter.

    To set an environment variable you type (in the DOS box) SET VariableName=VariableValue. For example SET Temp=c:Temp.
    Then press enter.

    The line
    SET Temp=c:Temp can be in a .bat or .cmd file.

    The environment holds the latest value assigned to each variable.

    The variable are held in memory and disappear when the computer is shut down or switched off.

    Hope this grounding in DOS environment variable is useful to you in identifying your problem and may be useful to others.
    David Grugeon
    Brisbane Australia

  11. #11
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Office Tmp files

    Thank you, David.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •