Command line switch for reset to default options?

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
arobustus1
Junior Member
Posts: 11
Joined: Fri Dec 30, 2011 11:03 am

Command line switch for reset to default options?

Post by arobustus1 »

I am wondering is there a command line switch I can use that will reset the new session to default options on all option pages. Looking through Help and other sources I saw a lot of individual switches but no "master switch".
Thank You,
-plh
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Command line switch for reset to default options?

Post by psguru »

There's no such switch. However, you can go to the UI and reset all pages in the Options dialog with one button click. Running command line after that will use defaults.
psguru
PrestoSoft
MudGuard
Expert Member
Posts: 69
Joined: Mon Jun 07, 2004 12:42 am

Re: Command line switch for reset to default options?

Post by MudGuard »

I suggest the following:

Go to Options, Export to file "currentOptions". This will save your current options.
Set all Options to their defaults, Expert to file "defaultOptions".
Import Options from file "currentOptions". Now ExamDiff should be configured as before. ("currentOptions" file is no longer needed, might be deleted - or kept as a backup ...)

Now when you want to use the default options, use command line argument /g: with file "defaultOptions".
This will use the defaultOptions for this run.

I guess that comes pretty close to what you want, arobustus1.
arobustus1
Junior Member
Posts: 11
Joined: Fri Dec 30, 2011 11:03 am

Re: Command line switch for reset to default options?

Post by arobustus1 »

Thank you! Where will that go in the command line? Currently my command line used to invoke from MS Access is (for example)
C:\Program Files\ExamDiff Pro\ExamDiff.exe "G:\MAIER F2\INFO\Notes\1199_Org.txt" "G:\MAIER F2\INFO\Notes\1199_New.txt"
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Re: Command line switch for reset to default options?

Post by psguru »

You can add the /g option anywhere in the command line, e.g. at the end.
psguru
PrestoSoft
Post Reply