Re: [DQSD-Users] search renaming batch file / pat and patno searches

2008-02-26 Thread Shawn K. Hall
> I'm still a little confused about what you guys are seeing in 
> the help -- I'm 99.99% sure disabling searches by renaming
> the files from anything not ending in .xml should cause them
> not to be loaded into the help.  Am I missing something? 

The internal disable functionality does NOT rename the files, so you end
up with the files still being parsed, but the functions are not loaded.
This causes the same extensive memory load, without any added value
(except, maybe, the ability to search the help for info about those
searches).

Sure, qsfreq is cool, but it's a change in processing and logic for most
people, and few people can do things a different way just because that
way is better. ;)

-Shawn



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601


Re: [DQSD-Users] search renaming batch file / pat and patno searches

2008-02-25 Thread Glenn Carr
Batch file is cool, but I'm telling you... qsfreq is for really lazy people
(like me) -- it's painless, and I think it does everything that the batch
file does, and gives you some interesting stats as well.

I'm still a little confused about what you guys are seeing in the help --
I'm 99.99% sure disabling searches by renaming the files from anything not
ending in .xml should cause them not to be loaded into the help.  Am I
missing something? 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Phil Albert
> Sent: Monday, February 25, 2008 12:51 AM
> To: dqsd-users@lists.sourceforge.net
> Subject: [DQSD-Users] search renaming batch file / pat and 
> patno searches
> 
> Ah, yes.  The difference between ordinary code and good code.  Thanks 
> for the edits.   I don't know if some server will slam me for 
> uploading a batch file, but here is the updated search renaming batch 
> file: (inline because it is not cool to e-mail batch files):
> 
> ::Removesearches - by Phil Albert (and others) for use with DQSD 
> (www.dqsd.net).
> ::If you use the help windows built into DQSD to uncheck searches you 
> don't want,
> ::it will create a file disabledsearches.txt listing the 
> disabled searches.
> ::This DOS batch file renames each of those disabled searches 
> from .xml files
> ::to .disabled files (to be compatible with other approaches to this).
> ::Thanks to Shawn and Kim for improvements to the code.
> 
> ::Note that the "FOR /F" command is an extended command.  I 
> know not what that
> ::means, but it is part of my standard XP install, so 
> probably everyone has it.
> ::This batch file uses the DOS "move" command because 
> "rename" chokes if the
> ::target already exists, which will be the case the second 
> time it is run.
> 
> pushd "%PROGRAMFILES%\Quick Search Deskbar\searches"
> pause
> FOR /F %%s IN (..\disabledsearches.txt) DO move %%s.xml %%s.disabled
> popd
> pause
> 
> 
> 
> I have also attached updated pat.xml and patno.xml searches.  The 
> change is to the URL (the Patent Office was using their numerical IP 
> address, but now uses a proper domain name and the IP address is no 
> longer responsive).  I don't know the procedure for submitting 
> changes for approval, so can someone either submit these updated xml 
> files or let me know the process (not only am I too lazy to optimize 
> my code, I am too lazy to look for instructions which are no doubt 
> out there somewhere).
> 
> The patno.xml search is not actually needed anymore, since a direct 
> URL is available.  This is what my alias looks like for patno:
> patno|http://patft.uspto.gov/netacgi/nph-Parser?patentnumber=%s
> 
> 
> >On Sun, Feb 24, 2008 at 12:43 PM, Shawn K. Hall
> ><[EMAIL PROTECTED]> wrote:
> > > I usually use "pushd" and "popd", which I think are safer 
> for directory
> > >  switches.
> >
> >Good call, same here!
> >
> >- Kim
> 
> Phil Albert, full-time patent attorney and philosopher, 
> part-time car thief
> ICBMNET: 37 deg, 25', 30" N, 126 deg, 13', 34" W
> Voicenet: (415) 576-0200   bizcardnet: Townsend & 
> Townsend & Crew LLP
> Internet: almost any name 'at' thealberts.org except for the ones 
> that don't work.  



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601


Re: [DQSD-Users] search renaming batch file / pat and patno searches

2008-02-25 Thread Michael Kairys
> ::Note that the "FOR /F" command is an extended command.  I know not what
that
> ::means

Type "help cmd" and you will see:


Command Extensions are enabled by default.  You may also disable
extensions for a particular invocation by using the /E:OFF switch.  You
can enable or disable extensions for all invocations of CMD.EXE on a
machine and/or user logon session by setting either or both of the
following REG_DWORD values in the registry using REGEDIT.EXE:

HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\EnableExtensions

and/or

HKEY_CURRENT_USER\Software\Microsoft\Command Processor\EnableExtensions

to either 0x1 or 0x0.  The user specific setting takes precedence over
the machine setting.  The command line switches take precedence over the
registry settings.

The command extensions involve changes and/or additions to the following
commands:

DEL or ERASE
COLOR
CD or CHDIR
MD or MKDIR
PROMPT
PUSHD
POPD
SET
SETLOCAL
ENDLOCAL
IF
FOR
CALL
SHIFT
GOTO
START (also includes changes to external command invocation)
ASSOC
FTYPE

To get specific details, type commandname /? to view the specifics.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601


[DQSD-Users] search renaming batch file / pat and patno searches

2008-02-24 Thread Phil Albert
Ah, yes.  The difference between ordinary code and good code.  Thanks 
for the edits.   I don't know if some server will slam me for 
uploading a batch file, but here is the updated search renaming batch 
file: (inline because it is not cool to e-mail batch files):


::Removesearches - by Phil Albert (and others) for use with DQSD 
(www.dqsd.net).
::If you use the help windows built into DQSD to uncheck searches you 
don't want,

::it will create a file disabledsearches.txt listing the disabled searches.
::This DOS batch file renames each of those disabled searches from .xml files
::to .disabled files (to be compatible with other approaches to this).
::Thanks to Shawn and Kim for improvements to the code.

::Note that the "FOR /F" command is an extended command.  I know not what that
::means, but it is part of my standard XP install, so probably everyone has it.
::This batch file uses the DOS "move" command because "rename" chokes if the
::target already exists, which will be the case the second time it is run.

pushd "%PROGRAMFILES%\Quick Search Deskbar\searches"
pause
FOR /F %%s IN (..\disabledsearches.txt) DO move %%s.xml %%s.disabled
popd
pause



I have also attached updated pat.xml and patno.xml searches.  The 
change is to the URL (the Patent Office was using their numerical IP 
address, but now uses a proper domain name and the IP address is no 
longer responsive).  I don't know the procedure for submitting 
changes for approval, so can someone either submit these updated xml 
files or let me know the process (not only am I too lazy to optimize 
my code, I am too lazy to look for instructions which are no doubt 
out there somewhere).


The patno.xml search is not actually needed anymore, since a direct 
URL is available.  This is what my alias looks like for patno:

patno|http://patft.uspto.gov/netacgi/nph-Parser?patentnumber=%s



On Sun, Feb 24, 2008 at 12:43 PM, Shawn K. Hall
<[EMAIL PROTECTED]> wrote:
> I usually use "pushd" and "popd", which I think are safer for directory
>  switches.

Good call, same here!

- Kim


Phil Albert, full-time patent attorney and philosopher, part-time car thief
ICBMNET: 37 deg, 25', 30" N, 126 deg, 13', 34" W
Voicenet: (415) 576-0200   bizcardnet: Townsend & Townsend & Crew LLP
Internet: almost any name 'at' thealberts.org except for the ones 
that don't work.  

patno.xml
Description: XML document


pat.xml
Description: XML document
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
To unsubscribe visit:
https://lists.sourceforge.net/lists/listinfo/dqsd-users
DQSD-Users@lists.sourceforge.net
http://sourceforge.net/mailarchive/forum.php?forum_id=8601