Change New Items Folder Default
-
breno
- Posts: 8
- Joined: 15 Mar 2022 14:20
Change New Items Folder Default
How do I Change the path of New Items Folder?
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Change New Items Folder Default
Help file - Advanced Topics - Admin Settings
One of my scripts helped you out? Please donate via Paypal
-
breno
- Posts: 8
- Joined: 15 Mar 2022 14:20
Re: Change New Items Folder Default
I made an Admin.ini file as shown in attachments.
but did not work.
but did not work.
To see the attached files, you need to log into the forum.
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Change New Items Folder Default
Code: Select all
$adminIni = "<xypath>\admin.ini";
if (exists($adminIni) == 1) { text readfile($adminIni); }
else { text "admin.ini file does not exist"; }
and show the full output
One of my scripts helped you out? Please donate via Paypal
-
breno
- Posts: 8
- Joined: 15 Mar 2022 14:20
Re: Change New Items Folder Default
Here the output
To see the attached files, you need to log into the forum.
-
highend
- Posts: 15016
- Joined: 06 Feb 2011 00:33
- Location: Win Server 2022 @100%
Re: Change New Items Folder Default
Apart from that I don't understand why the new root folder for "New Items" should be in an ebook folder...
Finally, do the same with this script:
Finally, do the same with this script:
Code: Select all
$adminIni = "<xypath>\admin.ini";
$content = readfile($adminIni);
$path = gettoken($content, 2, "=", "t");
if (exists($path) == 2) { text "Great, path exists!" . <crlf 2> . listfolder(gpc($adminIni, "path"), , , <crlf>); }
else { text "Bad, path does not exist"; }
One of my scripts helped you out? Please donate via Paypal
-
jupe
- Posts: 3575
- Joined: 20 Oct 2017 21:14
- Location: Win10 22H2 120dpi
Re: Change New Items Folder Default
You haven't put a
[Paths] section header in the ini, also why does it look there is a tab after \backup?
-
breno
- Posts: 8
- Joined: 15 Mar 2022 14:20
Re: Change New Items Folder Default
Thank you guys...
the head [Paths] really was missing.
Now it´s working ok
the head [Paths] really was missing.
Now it´s working ok
XYplorer Beta Club