Results 1 to 9 of 9
  1. #1
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    Pittsford,NY
    Posts
    700
    Thanks
    304
    Thanked 25 Times in 19 Posts
    I'm getting the msg: "Word could not create the work file. Check the temp environmental variable." when I try to open either an existing document of mine, or when I start winword.exe

    I've uninstalled Office 2007 (using Revo Uninstaller); and reinstalled the package from scratch. No joy.

    Can anyone help me resove this issue?

    Thanks,
    Dick

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. #2
    3 Star Lounger jockmullin's Avatar
    Join Date
    Dec 2009
    Location
    St-Eustache,QC,Canada
    Posts
    238
    Thanks
    10
    Thanked 21 Times in 20 Posts
    As the error message indicates, word needs to use a folder to hold temporary files. It uses the one pointed to by the "temp" environment variable.

    To see what, or if, this is set to:
    - open a command window (dos prompt)
    - type in "echo %temp%" (without the quotes) and hit enter.
    The system should respond with a full path to your temp folder, the location of which depends on which version of Windows you are running.

    If it gives back nothing, then the temp environment variable is undefined. Post back if you need instructions.
    If it gives a path, check that folder really does exist, and try to copy/paste any file in there to make sure you are able to create files there.
    If the folder doesn't exist, create it.

    When/if you post back, pls specify which version of Windows.

    Jock

  4. #3
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    Pittsford,NY
    Posts
    700
    Thanks
    304
    Thanked 25 Times in 19 Posts
    Jock:
    Thank you for your reply. I have Windows 7 Home Premium installed.
    I did the echo; verified the path; checked that the temp file was where it was supposed to be; and created a test.txt file that I was able to copy into that Temp file.

    In addition to the referenced msg about Word not being able to create the work file, I also get this msg when opening an existing .docx file:
    "There was a problem sending the command to the program."

    Dick

  5. #4
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    Pittsford,NY
    Posts
    700
    Thanks
    304
    Thanked 25 Times in 19 Posts
    It looks like a key in my registry has been mucked up. Since I'm relatively new here, and dont think I can attach a copy of that exported key, would some kind soul do me a favor?
    What is the registry value you have in:

    root\word.document.12\shell\open\command

    Thank you,
    Dick

  6. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts
    Quote Originally Posted by Dick-Y View Post
    What is the registry value you have in:

    root\word.document.12\shell\open\command
    In Windows XP, Office 2007, the (Default Value) is:

    Code:
    "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /n /dde

  7. #6
    5 Star Lounger
    Join Date
    Dec 2009
    Location
    Pittsford,NY
    Posts
    700
    Thanks
    304
    Thanked 25 Times in 19 Posts
    Thank you, jsher200, for your help. I'm all set now.

    Dick

  8. #7
    New Lounger
    Join Date
    Mar 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Office 2007, 2010 0 Word could not create work file, error after reinstall

    Please help! I cannot get rid of the error "Word could not create work file" when opening a Word doc. I updated Word from 2007, to 2010 and created a temp file per microsoft.support's instructions through Internet Explorer. However, when going to run and doing an "echo %temp% - nothing comes back.

    Please help me connect the dots.

    Thanks,

    Amandaj

  9. #8
    New Lounger
    Join Date
    Mar 2013
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Per Jock above, "If it gives back nothing, then the temp environment variable is undefined. Post back if you need instructions." Please send me the instructions. Thanks, Amandaj

  10. #9
    Silver Lounger mrjimphelps's Avatar
    Join Date
    Dec 2009
    Location
    USA
    Posts
    2,137
    Thanks
    202
    Thanked 206 Times in 198 Posts
    To set the temp environment variable:

    Right-click on Computer, and choose Properties.
    On the left side of the window, click Advanced system settings.
    Click the Advanced tab at the top of the window.
    Click the Environment Variables button.
    In the top window, you will see the "user" variables that are set. Make sure there is a variable named TEMP. Wouldn't hurt to also make sure there is one named TMP.
    Both of these will be set to the same thing: %USERPROFILE%\AppData\Local\Temp
    If either one of these isn't in the list, click New, and then add them. Click OK to close the window, and close all of the other windows you have opened.

    Now double click on Computer, to open up a window. Open up C:, then Users, then your profile. Now, in the address window at the top, complete the path by adding the following after your username: \AppData\Local then hit Enter. (It will be hidden, that's why you have to manually type it in.)

    Make sure there is a folder named TEMP. If there isn't, create it.

    You're done.

Posting Permissions

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