TMP folder not being created in RamDisk


  1. Posts : 2
    Windows 7 Ultimate 32bit and 64bit
       #1

    TMP folder not being created in RamDisk


    Hi guys,

    I have just installed a 512mb ramdisk and have setup the system variables for "Temp" and "Tmp" to z:\Temp and z:\Tmp. I have also set the user variable to the same and the cache for Firefox to z:\cache.

    When I boot up the ramdisk is working and the "Temp" folder is created without problem, however the "Tmp" folder is not being created.

    This is causing me to have problems when running programs from within compress archives. When I run the program it errors stating the file cannot be created. If however I manually create the "Tmp" folder in the ramdisk and run the same file from within the archive it works without error.

    Is there a way to get Windows to create the "Tmp" folder when it boots so that I don't have to manually create it everytime. Or have a configured something incorrectly.

    Cheers in advance,

    Blinky
      My Computer


  2. Posts : 2
    Windows 7 Ultimate 32bit and 64bit
    Thread Starter
       #2

    Work around, I've created a batch file to create the directory on boot. Anyone know the correct way to do it?
      My Computer


  3. Posts : 6,285
    Windows 10 Pro X64
       #3

    Does windows normally create a \tmp file? I'm only aware of \temp. Sounds like what you've done is the way to go.
      My Computer


  4. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #4

    Batch File


    I use the batch file method on my XP install (Page File and Temp folders on a RAM disc).

    Ztruker said:
    Does windows normally create a \tmp file? I'm only aware of \temp. Sounds like what you've done is the way to go.
    This is what my (default) W7 Environment Variables looked like:
    TMP folder not being created in RamDisk-windows-temp-file-locations-default-w7.png
    Last edited by lehnerus2000; 20 Aug 2013 at 22:26. Reason: Picture Added, Title Added
      My Computer


  5. Posts : 6,285
    Windows 10 Pro X64
       #5

    Yes, but they both point to the same place, \temp, not \tmp.
      My Computer


  6. Posts : 467
    Linux Mint 15 "Olivia" x32
       #6

    This is a RAMDISK, so it resets itself on reboot right?
    If that's the case, then there's only one way to do it, but you'll need to be working with the boot.wim file if it is windows 7 RAMDISK, if it's linux or XP, i have no idea how to do it, just tell me and i'll tell what tools to get if it's a win 7 one :)
      My Computer


  7. Posts : 4,049
    W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
       #7

    If the batch file is working, why not keep using it?

    Did you remember to adjust the System and User Environment variables?

    Remember to keep notes/screenshots of the changes you have made and any scripts you've created.
    I have a "Configuration" folder where I store all of that info.
    It's on my "Documents" partition, which I back up every month (before the Patch Tuesday updates).

    Ztruker said:
    Yes, but they both point to the same place, \temp, not \tmp.
    Agreed.
    It's just a convenience/redirection label.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 08:47.
Find Us