mersenneforum.org  

Go Back   mersenneforum.org > New To GIMPS? Start Here! > Information & Answers

Reply
 
Thread Tools
Old 2012-09-19, 02:34   #1
almostfrugal
 
Jan 2009
Fletcher, NC

23 Posts
Default where is prime95 keeping my prime, local, worktodo files?

I just installed Prime95 on my new computer. On my other computers, prime95 stores my prime, local, worktodo and other files right in the prime95 directory. On this new one, it is storing them somewhere else, but I would like them to be in the prime95 directory. How do I change this?
almostfrugal is offline   Reply With Quote
Old 2012-09-19, 02:42   #2
dabaichi
 
dabaichi's Avatar
 
Sep 2011

22×23 Posts
Default

Quote:
Originally Posted by almostfrugal View Post
I just installed Prime95 on my new computer. On my other computers, prime95 stores my prime, local, worktodo and other files right in the prime95 directory. On this new one, it is storing them somewhere else, but I would like them to be in the prime95 directory. How do I change this?
I think by default, the files like prime, local, etc should locate at the same directory as prime95.exe. You can try downloading and unzip the original zip file again. Or you can try adding "WorkingDir=your_directory_name":

Quote:
Originally Posted by undoc.txt
In prime.txt you can force the program to use different filenames for 6 files.
You can also change the working directory (identical to the -W command line
argument).
prime.ini=your_filename
local.ini=your_filename
worktodo.ini=your_filename
prime.log=your_filename
prime.spl=your_filename
results.txt=your_filename
WorkingDir=your_directory_name

Last fiddled with by dabaichi on 2012-09-19 at 02:45
dabaichi is offline   Reply With Quote
Old 2012-09-19, 03:15   #3
sdbardwick
 
sdbardwick's Avatar
 
Aug 2002
North San Diego County

23×5×17 Posts
Default

Quote:
Originally Posted by almostfrugal View Post
I just installed Prime95 on my new computer. On my other computers, prime95 stores my prime, local, worktodo and other files right in the prime95 directory. On this new one, it is storing them somewhere else, but I would like them to be in the prime95 directory. How do I change this?
Assuming (1) this is a Windows 7 system, and (2) Prime95 was installed in the Program Files directory, then Windows UAC redirects the file writes. From the linked Wikipedia article:
Quote:
For example, if an application attempts to write to “C:\program files\appname\settings.ini” and the user doesn’t have permissions to write to that directory, the write will get redirected to “C:\Users\username\AppData\Local\VirtualStore\Program Files\appname\settings.ini”.
The quickest solution is to move Prime95 directory somewhere with write access, and copy the contents of the redirected directory (the one under C:\Users\...) to the new Prime95 directory.
(Directory = folder; I'm old.)

Last fiddled with by sdbardwick on 2012-09-19 at 03:20
sdbardwick is offline   Reply With Quote
Old 2012-09-19, 03:18   #4
almostfrugal
 
Jan 2009
Fletcher, NC

23 Posts
Default

Okay, I downloaded the zip file, re-extracted it, ran prime95.exe. No change. Still no prime.txt, local.txt, worktodo.txt files in my Prime95 directory. The work picked up just where it left off before I reloaded, so the work files are somewhere, just not in Prime95 directory. I can't add above WorkingDir= because I can't find prime.txt.
almostfrugal is offline   Reply With Quote
Old 2012-09-19, 03:51   #5
almostfrugal
 
Jan 2009
Fletcher, NC

23 Posts
Default

Thanks. I moved my Prime95 directory out of the Program Files directory, moved the redirected work files into my Prime95 directory, and now everything works just like I want it to. Thanks.
almostfrugal is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
convert files from srsieve/srfile into worktodo.txt Rincewind PrimeNet 9 2014-11-01 11:47
Regenerating the worktodo files from PrimeNet? LaurV PrimeNet 3 2012-03-28 17:40
Does mprime check prime.txt/local.txt for changes? odin Software 4 2010-04-16 05:59
Prime95 worktodo.ini parameters not explained azhad Software 2 2008-05-31 23:38
Prime95 create Local Disk (Z:) on WinXP? Unregistered Software 3 2005-02-05 16:51

All times are UTC. The time now is 02:01.

Thu Dec 3 02:01:09 UTC 2020 up 83 days, 23:12, 1 user, load averages: 2.70, 2.51, 2.29

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.