Command line option usep does not work
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Command line option usep does not work
Hi all,
I'm using the free PDFXEdit portable implementation Version 6.0 Build 322.5 on Windows 7 and I would like to make use of the command line option /usep.
I need to read and write the user preferences from another location than the default one. (The default location is write protected for normal user)
I tried the following:
PDFXedit.exe /usep C:\development\ABC_PDFXEdit\zettings.dat -> zettings.dat was not written after modifying some settings.
PDFXedit.exe /usep:readonly=no C:\development\ABC_PDFXEdit\zettings.dat -> zettings.dat was not written after modifying some settings.
PDFXedit.exe /UseP:readonly=no C:\development\ABC_PDFXEdit\zettings.dat -> zettings.dat was not written after modifying some settings.
If I create the settings.dat in the default location and than copy it to 'C:\development\ABC_PDFXEdit\zettings.dat' PDFXEdit.exe reads it when starting up, using the /usep command line.
What am I missing to write the user preferences to another location than the default one? Or is this a known bug?
TIA for any help.
Daniele
I'm using the free PDFXEdit portable implementation Version 6.0 Build 322.5 on Windows 7 and I would like to make use of the command line option /usep.
I need to read and write the user preferences from another location than the default one. (The default location is write protected for normal user)
I tried the following:
PDFXedit.exe /usep C:\development\ABC_PDFXEdit\zettings.dat -> zettings.dat was not written after modifying some settings.
PDFXedit.exe /usep:readonly=no C:\development\ABC_PDFXEdit\zettings.dat -> zettings.dat was not written after modifying some settings.
PDFXedit.exe /UseP:readonly=no C:\development\ABC_PDFXEdit\zettings.dat -> zettings.dat was not written after modifying some settings.
If I create the settings.dat in the default location and than copy it to 'C:\development\ABC_PDFXEdit\zettings.dat' PDFXEdit.exe reads it when starting up, using the /usep command line.
What am I missing to write the user preferences to another location than the default one? Or is this a known bug?
TIA for any help.
Daniele
- Tracker Supp-Stefan
- Site Admin
- Posts: 17824
- Joined: Mon Jan 12, 2009 8:07 am
- Location: London
- Contact:
Re: Command line option usep does not work
Hello Daniele,
You say that
Regards,
Stefan
You say that
Then what is the other way in which you place the zettings.dat file in the \development\ directory?If I create the settings.dat in the default location and than copy it to 'C:\development\ABC_PDFXEdit\zettings.dat' PDFXEdit.exe reads it when starting up, using the /usep command line.
Regards,
Stefan
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Command line option usep does not work
Hi, Daniele.
The issue with /usep parameter will be fixed in new upcoming build. Thanks for report.
Cheers.
The issue with /usep parameter will be fixed in new upcoming build. Thanks for report.
Cheers.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: Command line option usep does not work
Hi Vasyl,
Thanks for your info. When is the next release with the fix planned?
Thanks for your support.
Regards,
Daniele
Thanks for your info. When is the next release with the fix planned?
Thanks for your support.
Regards,
Daniele
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Command line option usep does not work
Hi Daniele,
Vasyl in the Canadian office so I can't clarify at the moment, but I believe that he may have been referring to last night's release. Please try build 322.6 and let us know how that goes.
Thanks,
Vasyl in the Canadian office so I can't clarify at the moment, but I believe that he may have been referring to last night's release. Please try build 322.6 and let us know how that goes.
Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Re: Command line option usep does not work
Hi Will,
Still same behavior.
PDFXEdit.exe /usep:readonly=no "C:\devtest\settings.dat"
PDFXEdit.exe /usep "C:\devtest\settings.dat"
in both cases no C:\devtest\settings.dat is written.
Regards,
Daniele
Still same behavior.
PDFXEdit.exe /usep:readonly=no "C:\devtest\settings.dat"
PDFXEdit.exe /usep "C:\devtest\settings.dat"
in both cases no C:\devtest\settings.dat is written.
Regards,
Daniele
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Command line option usep does not work
Please try our latest build 6.0.322.6..
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: Command line option usep does not work
Hi Vasyl,
I downloaded the portable version. Starting the application, about shows Version 6.0 (Build 322.6) (Aug 8 2017;14:41:10).
I tried 'PDFXEdit.exe /usep:readonly=no C:\temp\pdfxedit\latest\zettings.dat' and 'PDFXEdit.exe /usep C:\temp\pdfxedit\latest\zettings.dat' non of them created the file zettings.dat.
Regards,
Daniele
I downloaded the portable version. Starting the application, about shows Version 6.0 (Build 322.6) (Aug 8 2017;14:41:10).
I tried 'PDFXEdit.exe /usep:readonly=no C:\temp\pdfxedit\latest\zettings.dat' and 'PDFXEdit.exe /usep C:\temp\pdfxedit\latest\zettings.dat' non of them created the file zettings.dat.
Regards,
Daniele
- Vasyl-Tracker Dev Team
- Site Admin
- Posts: 2352
- Joined: Thu Jun 30, 2005 4:11 pm
- Location: Canada
Re: Command line option usep does not work
Hi Daniele.
Here is small misunderstanding I guess. The /UseP command requires a valid setting-file that already exists on the disc. In that case the Editor loads all settings from the specified file on start and stores all settings to it on exit (when readOnly parameter isn't specified and when Editor has permissions to write to that file, for sure). When specified file isn't exist - the /UseP command will be ignored by Editor.
Cheers.
Here is small misunderstanding I guess. The /UseP command requires a valid setting-file that already exists on the disc. In that case the Editor loads all settings from the specified file on start and stores all settings to it on exit (when readOnly parameter isn't specified and when Editor has permissions to write to that file, for sure). When specified file isn't exist - the /UseP command will be ignored by Editor.
Cheers.
Vasyl Yaremyn
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Tracker Software Products
Project Developer
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Re: Command line option usep does not work
Hi Vasyl,
Thanks for clarification. I tried it according your explanation and it works so far ok.
So this is a slightly different behavior than the one with the old PDFXCviewer. The viewer didn't expect an existing file when using the /UseP parameter.
It behaved the same way with or without using /UseP. If the settings.dat file didn't exist, it was created. Either in the default location or with the use of /UseP in the indicated location.
Would it be possible, to implement this behavior for PDFXEdit as well?
Regards,
Daniele
Thanks for clarification. I tried it according your explanation and it works so far ok.
So this is a slightly different behavior than the one with the old PDFXCviewer. The viewer didn't expect an existing file when using the /UseP parameter.
It behaved the same way with or without using /UseP. If the settings.dat file didn't exist, it was created. Either in the default location or with the use of /UseP in the indicated location.
Would it be possible, to implement this behavior for PDFXEdit as well?
Regards,
Daniele
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Command line option usep does not work
Hi Daniele,
Are you sure that the /importsettings and /exportsettings commands wouldn't suit your needs better? You would then have control of what specifically gets imported/exported and where to/from:
https://help.pdf-xchange.com/pdfxe6 ... ns_ed.html
Thanks,
Are you sure that the /importsettings and /exportsettings commands wouldn't suit your needs better? You would then have control of what specifically gets imported/exported and where to/from:
https://help.pdf-xchange.com/pdfxe6 ... ns_ed.html
Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Re: Command line option usep does not work
Hi Will,
/importsettings and /exportsettings would be an option. It's just the 'beeing accustomed to the old behavior' syndrom, to ask for the old behavior.
I found a solution that fits my needs.
Thanks to all for the support I got in this forum.
Best regards,
Daniele
/importsettings and /exportsettings would be an option. It's just the 'beeing accustomed to the old behavior' syndrom, to ask for the old behavior.
I found a solution that fits my needs.
Thanks to all for the support I got in this forum.
Best regards,
Daniele
- Will - Tracker Supp
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
- Location: London, UK
- Contact:
Re: Command line option usep does not work
Hi Daniele,
No worries - We'll see what we can do to change the behaviour of /usep but I'm glad that you have something that works for you now.
Thanks,
No worries - We'll see what we can do to change the behaviour of /usep but I'm glad that you have something that works for you now.
Thanks,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com