Maf,

Windows after 95 had a maximum PATH length of 256 characters in Win32 apps but
after Windows 10 V1067 it is 32767 chars but use of this is apparently an option
(not a Windows user) requiring setting of the registry key
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem LongPathsEnabled to a value of
1 (see post in
https://stackoverflow.com/questions/57807466/what-is-the-maximum-filename-length-in-windows-10-java-would-try-catch-would
for details)

Barry's problems seem to be more to do with Window's housekeeping than specific
GnuCash problems. I have GnuCash on a Windows 11 system my wife's) as well as
Linux Mint sharing the same data file from a dropbox server without any
difficulties. I have several sets of books (i.e. different GnuCash data files)
but I have made it a practice to keep each separate data file/set of books in
its own sub-directory/folder which keeps all the relevant backup and logfiles in
the one place. It also makes backing up the data easy as you just backup the
whole directory

Barry do you have all the gnucash data files and their associated backups and
log files in a single subdirectory/folder of your user directory. If you don't
it may be advisable to sort that out first. 

The main data files have the format 
<filename>.gnucash

the backup files
<filename>.gnucash.<timestamp>.gnucash

and the log files
<filename>,gnucash.<timestamp>.log

where <filename> is replaced by the name you gave your file and <timestamp> has
the format "yyyymmddhhmmss".

My practice is to keep there in a sub-directory with the name <filename> which
makes finding the datafiles easy and all of the  separate datafile directories
are under a directory "GnuCash_Data_Files" in my user directory which makes them
easy to find.


If you have files with a double timestamp e.g.
<filename>.gnucash.<timestamp>.gnucash.<timestamp>.gnucash
it usually means you have opened up one of the backup files rather than the main
datafile <filename>.gnucash at some point.

If you do a 
dir  *.* /T:C >file_creation.txt
dir *.* /T:A > file_access.txt

in command window after changing directory to the directory your gnucash
datafiles are in and then attach the file_creation.txt and file_access.txt to a
message to the list we may be able to give you more assistance in sorting out
which files are which. This will list the filenames and their creation dates.

David Cousens

On Sat, 2023-08-26 at 00:30 +0100, Maf. King wrote:
> I've just had a thought on a possible reason the original file could not be 
> saved.  I may be barking up the wrong tree.....
> 
> Does Win have a maximum length for a filename?
> 
> If Barry (OP) has been repeatedly opening and working on backups and backups 
> of backups etc.., is it possible that repeated time-stamps have hit some sort 
> of string-length limit (either in Win, GC, Gnome-libs or whatever layer)??
> 
> Last time I was actively using MS for anything regularly, the filename length 
> limit was 8+3 ... so I'll defer to pretty much anyone's opinion on this! 
> 
> Maf
> 
> 
> 
> 
> On Friday, 25 August 2023 17:09:54 BST David Carlson wrote:
> > Barry,
> > 
> > Please do not send messages to individuals on the Gnucash-user list.
> > I have no idea what did not go through in that prior email because it
> > didn't go through.
> > Then your next sentence confuses me too because I cannot tell if it is a
> > comment about the user list, about the GnuCash program. about your Email
> > app or about how permissions for users works in Windows.
> > 
> > ---------- Forwarded message ---------
> > From: Barry Mahon <barrymah...@gmail.com>
> > Date: Fri, Aug 25, 2023 at 10:24 AM
> > Subject: Gnucash
> > To: <david.carlson....@gmail.com>
> > 
> > 
> > Thanks to all.
> > 
> > On the issue of rights, I have never had any issues before this saga, so
> > should I assume I have had 'rights' to save documents under administrato??
> > 
> > When you say 'truncated' does that mean you cannot see the CaptureWiz
> > images?? I have had issues all along with Gnucash needing specific file
> > types to display files for messages, does that apply to gnucash-user?? For
> > reasons I don't understand I have never been able to copy files from Gnu in
> > my MS Windows10 to the 'required' format, for queries about Gnucash....!!
> > Quite frustrating.
> > 
> > Finbar
> 
> 
> 
> 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user@gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to