Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: TMP folder not being created in RamDisk

20 Aug 2013   #1
blinkydamo

Windows 7 Ultimate 32bit and 64bit
 
 
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 System SpecsSystem Spec
.
20 Aug 2013   #2
blinkydamo

Windows 7 Ultimate 32bit and 64bit
 
 

Work around, I've created a batch file to create the directory on boot. Anyone know the correct way to do it?
My System SpecsSystem Spec
20 Aug 2013   #3
Ztruker

Windows 10 Pro X64
 
 

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 System SpecsSystem Spec
.

20 Aug 2013   #4
lehnerus2000

W7 Ultimate SP1, LM18.3 MATE, W10 Home, #All 64 bit
 
 
Batch File

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

Quote   Quote: Originally Posted by Ztruker View Post
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


My System SpecsSystem Spec
21 Aug 2013   #5
Ztruker

Windows 10 Pro X64
 
 

Yes, but they both point to the same place, \temp, not \tmp.
My System SpecsSystem Spec
21 Aug 2013   #6
redfang337

Linux Mint 15 "Olivia" x32
 
 

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 System SpecsSystem Spec
21 Aug 2013   #7
lehnerus2000

W7 Ultimate SP1, LM18.3 MATE, W10 Home, #All 64 bit
 
 

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).

Quote   Quote: Originally Posted by Ztruker View Post
Yes, but they both point to the same place, \temp, not \tmp.
Agreed.
It's just a convenience/redirection label.
My System SpecsSystem Spec
Reply

 TMP folder not being created in RamDisk




Thread Tools




Similar help and support threads
Thread Forum
New folder being created and unable to asscess them.
Recently, I noticed that I had two "my documents" folders. I right clicked on one and it told me how much space was being used and all the usual stuff. If I clicked on the second folder, it told me that I didn't have access to it. (I am logged in as administrator.) When I right click on it, it...
General Discussion
Why are these Recycler files in a folder I created?
I have a folder on my PC called C:\Backup. I thought that I created this folder myself and I wanted to delete it, but when I tried it wouldn't let me and said I require permission to make changes. The folder appeared to be empty but when I went to properties it said there were 214 files and 40...
General Discussion
Accidentally deleted a folder I created in my "my videos" folder
I had accidentally deleted a folder I created in my "my videos" folder and I'm not quite sure how to get it back or find its contents. :S any help would be amazing as I've spent a lot of time building that folder.
Music, Pictures & Video
User Profile folder - static folder instead of created by user signon
A twist on the creation of user folders on a drive other than C: in Win 7 Ultimate. Does anyone know if one could designate a user folder location such as E:\Data instead of using the users name and being a subdirectory of "Users". I am the ONLY one on my computer - and it would seem much easier to...
Installation & Setup
New Folder created after update?
So I recently installed a few updates a couple days ago and I noticed that in a certain directory there was a new folder made. In C:\Users path there normally owner or whatever your name my be and public, but now there's a temp folder that has a lock pad on it. I tried deleting it but it keep...
Windows Updates & Activation


Our Sites

Site Links

About Us

Find 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 00:08.
Twitter Facebook Google+