Saving ini settings
Saving ini settings
I wouldn't call this a bug, but I figured I'd point it out. If you don't double quote the ini file name when savings settings for an ini file, specifically SC savesettings, XYplorerUserKen.ini the result will be XYplorerUserKenini with no dot. The examples in the help file do show the double quotes but I wanted to point out they're important here. I had no spaces in the ini file name in my test examples. I noticed this when saving settings for a specific XY ini file that I use in a second instance of XYplorer. Thanks.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Saving ini settings
[moved to tips and tricks]
You know, actually any string should be quoted in scripting, and this is no exception.
You know, actually any string should be quoted in scripting, and this is no exception.
FAQ | XY News RSS | XY Twitter
Re: Saving ini settings
Sorry Don, I should have put this in Tips. I didn't have any spaces in the file name and I provided the full path as well which also had no spaces, so I initially though it was odd, but as you say and the help file states, use quotes. Thanks.
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440
-
- Site Admin
- Posts: 60357
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Saving ini settings
Let me add that I personally and silently often regretted that I followed that bizarre PHP design choice to use the dot (.) as string concatenator. I really should have taken the plus (+) or the ampersand (&). Well, too late.
FAQ | XY News RSS | XY Twitter