Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 21, 2013, 09:04:10 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Define a "standard" location for log files in Windows 7.  (Read 1453 times)
b-morgan
Newbie
*
Posts: 1


View Profile
« on: June 21, 2011, 06:22:47 pm »

Since Windows 7 doesn't allow users to write to the installation directory, MyDefrag should have a "standard" location to write log files. Maybe %APPDATA% ?
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7155



View Profile WWW
« Reply #1 on: June 22, 2011, 09:20:00 am »

The next version of MyDefrag will use a "Data" subdirectory in the MyDefrag folder, and this solves the write problem on Windows 7. I know that the Windows "standard" is to separate executables and data ("Program Files" and "User" folders), but I find that confusing and messy, and prefer to keep everything of a program together in a single folder.
Logged
Kasuha
JkDefrag Hero
*****
Posts: 595


View Profile
« Reply #2 on: June 22, 2011, 10:11:37 pm »

Personally I find it much more messy if a program writes to its installation folder. I'd prefer if MyDefrag created a "MyDefrag" subdirectory in the Documents folder for logs as for most people it's much easier accessible place than to go to Program Files folder. It also allows the installations to be on a different disk than working data. And it also allows to put the Program Files folder to a separate zone which can have minimum to none file movement even if SortByName is used on it ... unless something new was installed or updated.
Logged
frank77812
Newbie
*
Posts: 4


View Profile
« Reply #3 on: August 11, 2011, 01:48:23 am »

I think that I prefer the simple option of using a particular folder. This is much cleaner and will be easier for people to understand. Have you guys implemented this yet? Have you ever looked into some sort of schlage access control? I would love to hear more about it.
« Last Edit: August 16, 2011, 08:15:36 pm by frank77812 » Logged
ff_mfg
JkDefrag Hero
*****
Posts: 51


View Profile
« Reply #4 on: August 13, 2011, 06:17:59 pm »

How about a file flag next to .exe? Small .ini with a customizable path might be even better, but probably a bit of overkill. But file flags are already somewhat frequently used, mostly for portable modes, but sometimes for storing in %APPDATA% as well, for example foobar2000 looks for file "user_profiles_enabled".

Edit: Hmm, wait. MyDefrag doesn't really need multi-user profiles, all users share the same disks.
There is %ALLUSERSPROFILE%, or [Shared] My Documents. I'm not sure what's most correct here...
« Last Edit: August 13, 2011, 06:25:49 pm by ff_mfg » Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!