Save Copy of Configuration As problem
Forum rules
READ THIS AND DO IT!!!
Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
READ THIS AND DO IT!!!
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Save Copy of Configuration As problem
Running xyplorer 9.50, when I do a Save Copy of Configuration As, xyplorer always places the ini in the xyplorer directory, even though I explicitly navigate to another directory in the Save As dialog.
-- jeff
-- jeff
-
admin
- Site Admin
- Posts: 65013
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Save Copy of Configuration As problem
This has never been different. Also copies of the pane data subfolders are copied into the Panes subfolder in the current app data path. It's clumsily mentioned in the titlebar of the dialog and should be made clearer in the Help.
Depending on what you want to achieve the Backup All Settings might be your friend.
Depending on what you want to achieve the Backup All Settings might be your friend.
FAQ | XY News RSS | XY X
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Save Copy of Configuration As problem
As an alternative, you may be interested in assigning this script a button and automate the whole process:
Backup XY Settings:
Backup XY Settings:
Code: Select all
copyto "<xydata>\BKPs\<date yyyy-mm-dd>\<xyver>",
"<xydata>\*.ini|<xydata>\*.dat|<xydata>\FindTemplates";
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Re: Save Copy of Configuration As problem
If so, then xyplorer should not use the Save As dialog. What's the point in allowing the user to select a folder than then ignoring it?admin wrote:This has never been different. Also copies of the pane data subfolders are copied into the Panes subfolder in the current app data path. It's clumsily mentioned in the titlebar of the dialog and should be made clearer in the Help.
-
admin
- Site Admin
- Posts: 65013
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Save Copy of Configuration As problem
Yes, it's not great. It is a limitation of that dialog that browsing to other folders cannot be suppressed. Its virtue is that it offers a filtered view of the contents of one folder.jd wrote:If so, then xyplorer should not use the Save As dialog. What's the point in allowing the user to select a folder than then ignoring it?admin wrote:This has never been different. Also copies of the pane data subfolders are copied into the Panes subfolder in the current app data path. It's clumsily mentioned in the titlebar of the dialog and should be made clearer in the Help.
What do you try to achieve by copying the configuration to another path?
FAQ | XY News RSS | XY X
Re: Save Copy of Configuration As problem
I want to place the backup the file in a place accessible from elsewhere, for example a USB drive or a DropBox folder.admin wrote:What do you try to achieve by copying the configuration to another path?
-
admin
- Site Admin
- Posts: 65013
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Save Copy of Configuration As problem
I thought so. Use Backup All Settings... in the same menu. It does what you want and includes all necessary files, not just the INI files.jd wrote:I want to place the backup the file in a place accessible from elsewhere, for example a USB drive or a DropBox folder.admin wrote:What do you try to achieve by copying the configuration to another path?
FAQ | XY News RSS | XY X
Re: Save Copy of Configuration As problem
I tried using Backup All Settings. It seems to copy everything, including the executable and helpfiles, as well as data files that I don't want (such as the catalog), 30 files in total.admin wrote:I thought so. Use Backup All Settings... in the same menu. It does what you want and includes all necessary files, not just the INI files.
So what's "Save Copy As" good for? The help file says "Backups the current configuration under a new name (defaults to the present date suffixed to the INI base name) without making it the active INI file."
-
SkyFrontier
- Posts: 2341
- Joined: 04 Jan 2010 14:27
- Location: Pasárgada (eu vou!)
Re: Save Copy of Configuration As problem
Hi again, jd.
Bumping on the script solution once again.
-it'll deliver any files you want (script default is: xyplorer.ini plus 6 config .dat files and FindTelmplates folder);
-wherever you want: just replace "copyto "<xydata>" section with "copyto "D:\Custom\Path", like this:
anything with the "copyto destination, source files" format.
Bumping on the script solution once again.
-it'll deliver any files you want (script default is: xyplorer.ini plus 6 config .dat files and FindTelmplates folder);
-wherever you want: just replace "copyto "<xydata>" section with "copyto "D:\Custom\Path", like this:
Code: Select all
copyto "c:\Backups\xyBKPs\<date yyyy-mm-dd>\<xyver>",
"<xydata>\*.ini|<xydata>\*.dat|<xydata>\FindTemplates";New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...
-
admin
- Site Admin
- Posts: 65013
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Save Copy of Configuration As problem
I see. This happens when app folder and app data folder are identical, which is a rather unusual case. I would even call this a bug.jd wrote:I tried using Backup All Settings. It seems to copy everything, including the executable and helpfiles, as well as data files that I don't want (such as the catalog), 30 files in total.admin wrote:I thought so. Use Backup All Settings... in the same menu. It does what you want and includes all necessary files, not just the INI files.
So what's "Save Copy As" good for? The help file says "Backups the current configuration under a new name (defaults to the present date suffixed to the INI base name) without making it the active INI file."
Now which files are you interested in?
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Save Copy of Configuration As problem
But on my system (non-UAC OS), app folder & app data folder are the same and that's the desired setup for me, so not sure what you mean by a a bug?admin wrote:I see. This happens when app folder and app data folder are identical, which is a rather unusual case. I would even call this a bug.
Now I would say that "Backup All Settings" is a bit misnamed given what it's presently doing since it not only does the INI + DAT but also any/all folders/files, including EXE within the app data folder and thus in my case, backed up 103 files! This is more like "Backup Application" since it does non-INI/DAT files.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
Re: Save Copy of Configuration As problem
I had the same experience.
While using "Backup All Settings" i am sitting back and watched
how all my tools are backed up instead of the settings only.
I did (and still do) understood "Backup All Settings" as an feature
who backing-up only my settings, that's all the ini's and dat's
Or IOWs: "Backup All Settings" should only copy what "Save All Settings" would save.
Backing-up the whole app folder as an build-in command is un-common in my experiences.
Maybe XYplorers own sub-folders should be included by "Backup All Settings" too?
Or there could be an additional command "Backup XYplorer" which copies
all ini's and dat's, the exe and the folders "FindTemplates\", "NewItems\" and "Scripts\"
Doing an backup of the whole XYplorer-folder i could do on my own.
While using "Backup All Settings" i am sitting back and watched
how all my tools are backed up instead of the settings only.
I did (and still do) understood "Backup All Settings" as an feature
who backing-up only my settings, that's all the ini's and dat's
Or IOWs: "Backup All Settings" should only copy what "Save All Settings" would save.
Backing-up the whole app folder as an build-in command is un-common in my experiences.
Maybe XYplorers own sub-folders should be included by "Backup All Settings" too?
Or there could be an additional command "Backup XYplorer" which copies
all ini's and dat's, the exe and the folders "FindTemplates\", "NewItems\" and "Scripts\"
Doing an backup of the whole XYplorer-folder i could do on my own.
-
admin
- Site Admin
- Posts: 65013
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Save Copy of Configuration As problem
"Backup All Settings" currently does what is said about it in the Help:
I agree it's misnamed and should be called "Backup Application Data Folder".
Another question is whether this command is useful: I think yes.
Yet another question is whether another command should be added which backups only what is saved by "Save All Settings" to another location. This command should be called "Backup All Settings" and yes, I think it would be useful as well.
Only if app folder and app data folder are identical (= unusual setup of older days which is not recommended since 8.90) then the EXE and other stuff is also copied simply because they happen to be in app data folder.Backups the whole contents of the Application Data Folder to a folder of your choice.
I agree it's misnamed and should be called "Backup Application Data Folder".
Another question is whether this command is useful: I think yes.
Yet another question is whether another command should be added which backups only what is saved by "Save All Settings" to another location. This command should be called "Backup All Settings" and yes, I think it would be useful as well.
FAQ | XY News RSS | XY X
Re: Save Copy of Configuration As problem
BTW I think it is very usual to have exe and data in one common folder since many use XYplorer as an portable app.admin wrote:Only if app folder and app data folder are identical (= unusual setup of older days which is not recommended since 8.90)
-
admin
- Site Admin
- Posts: 65013
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Save Copy of Configuration As problem
Yes, but the recommended and code-supported way is to have them in subfolder \Data:Stefan wrote:BTW I think it is very usual to have exe and data in one common folder since many use XYplorer as an portable app.admin wrote:Only if app folder and app data folder are identical (= unusual setup of older days which is not recommended since 8.90)
Code: Select all
v8.80.0060 - 2010-01-27 22:50
* Startup, App Data Path: Now, if
- no app data path is set by command line
- AND no startup.ini is found in app path
- AND no XYplorer.ini is found in app path
then the app data path is auto-set to <xypath>\Data.
Reason: Keeping the variable user data together in one place is a
good idea. Even in portable installations which is the typical
context for this scenario.
FAQ | XY News RSS | XY X
XYplorer Beta Club