Rather than the -optionfile <file> only being used to contain more options, I would like it to also be used to contain default options that can be overridden by the switches on the command line.
But I have to parse the command line before I can find the
-of option. I don't know if I can reliably parse the
command line for the -of option as a priority task, but I
will check.
Chip
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Let me explain why I submitted this request- I have an options file with the -to <recipient> and -server <addr>. Sometimes, I want to override the recipient. But, when I add a -to <diffrcpt> on the command line, I get "-t/-to can not be used with -tf. Aborting.". This is from Blat 2.6.1.
As for the comment about the registry- in my case, I'm using a single options file for common settings that are used by scripts running on various servers. I'd rather not use the registry as that would require more effort when those settings change.
-jack
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Got it. Download the latest prerelease version from my AT&T account and see if this does what you want. Its not necessary to grab all three files, just whichever one you normally use.
Logged In: YES
user_id=800692
But I have to parse the command line before I can find the
-of option. I don't know if I can reliably parse the
command line for the -of option as a priority task, but I
will check.
Chip
Logged In: YES
user_id=1647454
Originator: NO
Or better yet (IMAO), put more options into the registry, and continue to allow command file options to override the registry entries.
Logged In: NO
The source code says that command line options will override anything you put into an options file.
Chip
Logged In: YES
user_id=1667087
Originator: NO
Let me explain why I submitted this request- I have an options file with the -to <recipient> and -server <addr>. Sometimes, I want to override the recipient. But, when I add a -to <diffrcpt> on the command line, I get "-t/-to can not be used with -tf. Aborting.". This is from Blat 2.6.1.
As for the comment about the registry- in my case, I'm using a single options file for common settings that are used by scripts running on various servers. I'd rather not use the registry as that would require more effort when those settings change.
-jack
Logged In: YES
user_id=800692
Originator: NO
Got it. Download the latest prerelease version from my AT&T account and see if this does what you want. Its not necessary to grab all three files, just whichever one you normally use.
http://home.att.net/~chip.programmer/blat/blat.exe
http://home.att.net/~chip.programmer/blat/blat.dll
http://home.att.net/~chip.programmer/blat/blat.lib
--
Chip
Logged In: YES
user_id=1667087
Originator: NO
Yes, that works. It's just what I need!
It even gives me this warning, (which is great):
Warning: -t/-to is being used with -tf, or another -t/to.
Previous values will be ignored.
When do you expect this version to be released?
Thanks,
-jack
Logged In: YES
user_id=800692
Originator: NO
I hope to have it released this weekend. Thanks for the feedback.
--
Chip