By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!> I've uploaded build 26 to the web and ftp sites.
>
> Help file updates, some minor changes to the dialogs and menus, and a
> couple of obscure bug fixes (which nobody had reported).
>
>
>
>
>
> I've uploaded build 26 to the web and ftp sites.
>
> Help file updates, some minor changes to the dialogs and menus, and a
> couple of obscure bug fixes (which nobody had reported).
>
>
>
>
>
>
> It has fixed an "embedded data" in batch file "issue" that all version up
> till 12.26
> repeated!
> see here http://jpsoft.com/forums/showthread.php?t=2237
>
>
>
>
> ---Quote---
> > I've uploaded build 26 to the web and ftp sites.
> >
> > Help file updates, some minor changes to the dialogs and menus, and a
> > couple of obscure bug fixes (which nobody had reported).
> >
> >
> >
> >
> ---End Quote---
>
>
>
I must of been drunk when i posted this .. its still got issues
> -----Original Message-----
> ---Quote (Originally by Kachupp)---
> I must of been drunk when i posted this .. its still got issues
> ---End Quote---
>
> I don't understand what you're referring to here -- can you email me a
> sample batch file that shows the problem?
>
>
>
>
> attached
>
>
>
> ---Quote---
> > -----Original Message-----
> > ---Quote (Originally by Kachupp)---
> > I must of been drunk when i posted this .. its still got issues
> > ---End Quote---
> >
> > I don't understand what you're referring to here -- can you email me a
> > sample batch file that shows the problem?
> >
> >
> >
> >
> ---End Quote---
>
> Attached to this message is vn.btm
> (http://jpsoft.com/forums/attachment.php?attachmentid=145&d=1283459636)
>
>
> attached
>
>
>
> ---Quote---
> > -----Original Message-----
> > ---Quote (Originally by Kachupp)---
> > I must of been drunk when i posted this .. its still got issues
> > ---End Quote---
> >
> > I don't understand what you're referring to here -- can you email me a
> > sample batch file that shows the problem?
> >
> >
> >
> >
> ---End Quote---
>
> Attached to this message is vn.btm (
> http://jpsoft.com/forums/attachment.php?attachmentid=145&d=1283459636)
>
>
>
> The attached batch file does not appear to have tabs, as shown by TYPE /X.
> When I do change lines 2, 3, and 4, to begin colon-tab instead of
> colon-space it still functions the way I'd expect -- it shows the reg query
> for each of the three keys given. When I append a tab to the end of line 2
> (after the ]), it still shows just as expected.
>
> TCC 12.00.26 Windows 7 [Version 6.1.7600]
> TCC Build 26 Windows 7 Build 7600
>
>
> On Thu, Sep 2, 2010 at 13:33, Kachupp <> wrote:
>
>> attached
>>
>>
>>
>> ---Quote---
>> > -----Original Message-----
>> > ---Quote (Originally by Kachupp)---
>> > I must of been drunk when i posted this .. its still got issues
>> > ---End Quote---
>> >
>> > I don't understand what you're referring to here -- can you email me a
>> > sample batch file that shows the problem?
>> >
>> >
>> >
>> >
>> ---End Quote---
>>
>> Attached to this message is vn.btm (
>> http://jpsoft.com/forums/attachment.php?attachmentid=145&d=1283459636)
>>
>>
>>
>
>
>
> --
> Jim Cook
> 2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
> Next year they're Monday.
>
> embedded data follows
> : [HKEY_CURRENT_USER\Environment]
> : [HKEY_CURRENT_USER\Volatile Environment]
> : [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
> Manager\Environment]
> do _r=1 to 3
> reg query %@quote[%@strip["]",%@field["[",1,%@line[%@name[%0].btm,%_r ]]]]
> enddo
>
> :: if spaces or tabs are placed after the Embedding the do loop gets lost
> this one
> has tabs after the embedded data
> :: only one of the registry entries gets displayed , lines 1 and 3 will not
> be
> displayed till the "white space (tab)" is removed via an editor
> :: it treats it as part of the registry key
>
> Noped ripped off
>
>
>
> ---Quote---
> > attached
> >
> >
> >
> > ---Quote---
> > > -----Original Message-----
> > > ---Quote (Originally by Kachupp)---
> > > I must of been drunk when i posted this .. its still got issues
> > > ---End Quote---
> > >
> > > I don't understand what you're referring to here -- can you email me a
> > > sample batch file that shows the problem?
> > >
> > >
> > >
> > >
> > ---End Quote---
> >
> > Attached to this message is vn.btm
> > (http://jpsoft.com/forums/attachment.php?attachmentid=145&d=1283459636)
> >
> >
> ---End Quote---
>
>
>
>
embedded data follows
: [HKEY_CURRENT_USER\Environment]
: [HKEY_CURRENT_USER\Volatile Environment]
: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
do _r=1 to 3
reg query %@quote[%@strip["]",%@field["[",1,%@line[%@name[%0].btm,%_r ]]]]
enddo
> I don't understand what you mean by "noped ripped off." Which line numbers
> (1==embedded data follows, 2=HKCU\Environment, etc.) should have a tab
> character? Where should the tab character be? I'll try to reproduce your
> problem.
>
> On Thu, Sep 2, 2010 at 13:51, Kachupp <> wrote:
>
>
>
> ---Quote---
> > : embedded data follows
> > : [HKEY_CURRENT_USER\Environment]
> > : [HKEY_CURRENT_USER\Volatile Environment]
> > : [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
> > Manager\Environment]
> > do _r=1 to 3
> > reg query %@quote[%@strip["]",%@field["[",1,%@line[%@name[%0].btm,%_r ]]]]
> > enddo
> >
> > :: if spaces or tabs are placed after the Embedding the do loop gets lost
> > this one
> > has tabs after the embedded data
> > :: only one of the registry entries gets displayed , lines 1 and 3 will not
> > be
> > displayed till the "white space (tab)" is removed via an editor
> > :: it treats it as part of the registry key
> >
> > Noped ripped off
> >
> >
> >
> > ---Quote---
> > > attached
> > >
> > >
> > >
> > > ---Quote---
> > > > -----Original Message-----
> > > > ---Quote (Originally by Kachupp)---
> > > > I must of been drunk when i posted this .. its still got issues
> > > > ---End Quote---
> > > >
> > > > I don't understand what you're referring to here -- can you email me a
> > > > sample batch file that shows the problem?
> > > >
> > > >
> > > >
> > > >
> > > ---End Quote---
> > >
> > > Attached to this message is vn.btm
> > > (http://jpsoft.com/forums/attachment.php?attachmentid=145&d=1283459636)
> > >
> > >
> > ---End Quote---
> >
> >
> >
> >
> ---End Quote---
>
>
> --
> Jim Cook
> 2010 Sundays: 4/4, 6/6, 8/8, 10/10, 12/12 and 5/9, 9/5, 7/11, 11/7.
> Next year they're Monday.
>
>
>
>
> ---Quote (Originally by Kachupp)---
> embedded data follows
> : [HKEY_CURRENT_USER\Environment]
> : [HKEY_CURRENT_USER\Volatile Environment]
> : [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
> do _r=1 to 3
> reg query %@quote[%@strip["]",%@field["[",1,%@line[%@name[%0].btm,%_r ]]]]
> enddo
> ---End Quote---
> If I understand correctly, you're saying that @LINE doesn't strip trailing
> spaces. I don't think it's intended to; the help page doesn't say that it should.
>
> You can use @TRIM @LTRIM and @RTRIM to remove leading/trailing spaces.
v:\> type regkey.txt
: garbage[HKEY_CURRENT_USER\Volatile Environment]garbage
v:\> echo %@quote[%@word["[]",1,%@line[regkey.txt,0]]]
"HKEY_CURRENT_USER\Volatile Environment"
v:\> type katchupp.btm
: embedded data
: garbage [HKCU\Environment] garbage
: stuff [HKCU\Volatile Environment]more stuff
: crap [HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment] crap
do _r=1 to 3
set keyname=%@quote[%@word["[]",1,%@line[%@filename[%0],%_r]]]
echo %keyname
REM reg query %keyname
enddo
v:\> katchupp.btm
HKCU\Environment
"HKCU\Volatile Environment"
"HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
>
> Even more to the point:
>
>
> Code:
> ---------
> v:\> type katchupp.btm
> : embedded data
> : garbage [HKCU\Environment] garbage
> : stuff [HKCU\Volatile Environment]more stuff
> : crap [HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment] crap
> do _r=1 to 3
> set keyname=%@quote[%@word["[]",1,%@line[%@filename[%0],%_r]]]
> echo %keyname
> REM reg query %keyname
> enddo
>
> v:\> katchupp.btm
> HKCU\Environment
> "HKCU\Volatile Environment"
> "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment"
> ---------
>
>
>
I was trying to "keep" the syntax specific to the "One Liner" theme of "ways" of getting it!
in regards to variable names with a high-ish speed outcome that targets specific's even if crap garbage variables have nothing to do with the results. Embedded data in a batch file is assumed correct, the out come of the input doesn't reflect that. (white
space/tabs) in my mind!
reg query "%@word["[]",1,%@line[%@filename[%0],%_r]]"
I was trying to "keep" the syntax specific to the "One Liner" theme of "ways" of getting it!
: [HKCU\Environment]
: [HKCU\Volatile Environment]
: [HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment]
do _r=0 to 2
reg query "%@word["[]",1,%@line[%0,%_r]]"
enddo
I was using TCMD 11.00.52 and tried to START/TAB V12.00.25 TCC.EXE from its folder, and got this gpf:
> ---Quote (Originally by Jim Cook)---
> I was using TCMD 11.00.52 and tried to START/TAB V12.00.25 TCC.EXE from its
> folder, and got this gpf:
> ---End Quote---
>
> There is no way to run TCC v12 from TCMD v11. I'll see if I can make a
> change for v11 to prevent it from crashing (& just return an error).
>