Change New Items Folder Default
Change New Items Folder Default
How do I Change the path of New Items Folder?
Re: Change New Items Folder Default
Help file - Advanced Topics - Admin Settings
One of my scripts helped you out? Please donate via Paypal
Re: Change New Items Folder Default
I made an Admin.ini file as shown in attachments.
but did not work.
but did not work.
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
Re: Change New Items Folder Default
Here the output
- Attachments
-
- duvida 2.png (12.98 KiB) Viewed 1553 times
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
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?
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