1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

@CharlesDye - RegTweaks.btm n/w

Discussion in 'Support' started by Charles G, Jan 1, 2014.

  1. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,017
    Likes Received:
    0
    The RegTweaks.btrm does not work under Win 7 x64, and the latest TCMD/TCC even when run as Admin..

    Just says the badversion message and quits.

    Where on the web is the latest please, and does it work under the above?
     
  2. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,017
    Likes Received:
    0
  3. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,300
    Likes Received:
    39
    Unfortunately, my copy of v16 has expired. When it's released, I'll purchase a key, and then I can test it....

    Does %_CMDPROC return something different from previous versions?
     
  4. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,017
    Likes Received:
    0
    [C:\Program Files\JPSoft\TCMD16x64]echo %_CMDPROC
    TCC
     
  5. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,017
    Likes Received:
    0
    Looks like v16 has been released. I looked at RegTweaks.btm and tried to find where it's not working. Any help very much appreciated!
     
  6. Charles Dye

    Charles Dye Super Moderator
    Staff Member

    Joined:
    May 20, 2008
    Messages:
    3,300
    Likes Received:
    39
    Well, I've just run the March 2010 version on three different computers -- two x86, one x64 -- and it works on all three. I can't make it fail!

    There are three successive lines that can trigger that error message. Here are versions that you can try at the command prompt. If you can get one of them to fail, that might give us a clue what's going on.

    Code:
    if not 1 == 01 echo FAIL (looks like CMD.EXE)
    *if %@index[4NT!TCC!TCCLE!TCMD32!,%_cmdproc!] == -1 echo FAIL (unknown shell)
    *if %_4ver lt 7 echo FAIL (_4VER less than 7)
    
     
  7. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,017
    Likes Received:
    0
    TCC 16.00.38 x64 Windows 7 [Version 6.1.7601]
    Copyright 2014 JP Software Inc. All Rights Reserved
    Registered to Charles S. Galloway - 5 System License

    [C:\Program Files\JPSoft\TCMD16x64]if not 1 == 01 echo FAIL (looks like CMD.EXE)

    [C:\Program Files\JPSoft\TCMD16x64]*if %@index[4NT!TCC!TCCLE!TCMD32!,%_cmdproc!] == -1 echo FAIL (unknown shell)
    FAIL (unknown shell)

    [C:\Program Files\JPSoft\TCMD16x64]*if %_4ver lt 7 echo FAIL (_4VER less than 7)

    [C:\Program Files\JPSoft\TCMD16x64]

    [C:\Program Files\JPSoft\TCMD16x64]echo %_cmdproc
    TCC

    [C:\Program Files\JPSoft\TCMD16x64]echo "%_cmdproc"
    "TCC"

    [C:\Program Files\JPSoft\TCMD16x64]
     
  8. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,935
    Likes Received:
    30
    Code:
    [C:\Program Files\JPSoft\TCMD16x64]*if %@index[4NT!TCC!TCCLE!TCMD32!,%_cmdproc!] == -1 echo FAIL (unknown shell)
    FAIL (unknown shell)
    If %_cmdproc is "TCC" (as you said) it seems that either IF or @INDEX isn't working correctly for you. Try these
    Code:
    *if %@index[4NT!TCC!TCCLE!TCMD32!,TCC!] == -1 echo FAIL (unknown shell)
    echo %@index[4NT!TCC!TCCLE!TCMD32!,TCC!]
    echo %@index[4NT!TCC!TCCLE!TCMD32!,%_cmdproc!]
     
  9. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,017
    Likes Received:
    0
    Code:
    [C:\Program Files\JPSoft\TCMD16x64]*if %@index[4NT!TCC!TCCLE!TCMD32!,TCC!] == -1 echo FAIL (unknown shell)
    FAIL (unknown shell)
    
    [C:\Program Files\JPSoft\TCMD16x64]echo %@index[4NT!TCC!TCCLE!TCMD32!,TCC!]
    -1
    
    [C:\Program Files\JPSoft\TCMD16x64]echo %@index[4NT!TCC!TCCLE!TCMD32!,%_cmdproc!]
    -1
    
    [C:\Program Files\JPSoft\TCMD16x64]
     
  10. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,935
    Likes Received:
    30
    So it looks like @INDEX is broken in the 64-bit version. Did you do any other experiments with @INDEX? What if you leave out all the exclamation points?
     
  11. Charles G

    Joined:
    Apr 2, 2011
    Messages:
    1,017
    Likes Received:
    0
    No I haven't tried @index in other areas - or removed the ! marks...

    Another idea - might it be related to any of the INI information?
     
  12. w_krieger

    Joined:
    Nov 2, 2008
    Messages:
    176
    Likes Received:
    0
    Do you set "hkcr:\directory\background\shell\(text)\command".

    What this does is allow to write click on a background of an open folder, and run the command in there. Here is a sample regedit for my background setting. Also there's a '4nt here' dll, which i suppose could be modified to show tcchere.dll, which does this.

    I have a version of http://code.kliu.org/cmdopen/ this, which does a lot of the nifty stuff for cmd.exe, but you can patch the dll to use 4nt.exe or tcc.exe or something else. What i am really looking for is something that will run under cmd.exe, use apppath, and load the proggie named. Something like write.exe, but without leaving the console. You could remove a lot of stuff from the path, and still run exefiles.

    I have a modified version of 4nt.exe = hacked write.exe -> 4ntu.exe -> apppath -> l:\newin\jpsoft\4nt.exe, but running 4nt.exe starts a new window, rather than load it in the current window. [putting 4nt in place of 4ntu.exe is circular. You got to use some bogus name.]

    The cmdopen thing has been taught to run cmx.exe, which is one of several versions of write.exe, designed to run 4nt or tcmd or tcc (which does not run in my windows, but one day i will upgrade to XP, i fear).

    Code:
    REGEDIT4
    
    [HKEY_CLASSES_ROOT\Directory\Background]
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell]
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\ConEmu Here]
    "Icon"="L:\\newin\\ConEmu\\ConEmu.exe,0"
    
    [HKEY_CLASSES_ROOT\Directory\Background\shell\ConEmu Here\command]
    @="\"L:\\newin\\ConEmu\\ConEmu.exe\" /cmd cmd -cur_console:n"
    
    
     

Share This Page