none
Nabídka "Nový" RRS feed

  • Dotaz

  • Dobrý den, asi hodinu hledám možnost přidání Notepadu do kontextové nabídky pravé myši a výběru Nový. Pomůžete mi, prosím? Děkuju, Zima Josef
    sobota 18. července 2020 23:35

Odpovědi

  • Co ti vypise

    ftype|find /i "txt"
    toto?
    txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

    a dale
    reg query HKEY_CLASSES_ROOT\.txt\ShellNew

    toto?

    HKEY_CLASSES_ROOT\.txt\ShellNew
        ItemName    REG_EXPAND_SZ    @%SystemRoot%\system32\notepad.exe,-470
        NullFile    REG_SZ

    MP


    neděle 19. července 2020 9:58
    Moderátor

Všechny reakce

  • Co ti vypise

    ftype|find /i "txt"
    toto?
    txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

    a dale
    reg query HKEY_CLASSES_ROOT\.txt\ShellNew

    toto?

    HKEY_CLASSES_ROOT\.txt\ShellNew
        ItemName    REG_EXPAND_SZ    @%SystemRoot%\system32\notepad.exe,-470
        NullFile    REG_SZ

    MP


    neděle 19. července 2020 9:58
    Moderátor
  • Miroslave, děkuju, na podnět tvýho směrování jsem našel níže uvedenou radu, vložil do reg souboru a naimportoval do registru. Výsledek potěšil.

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.TXT]
    @="txtfile"
    "Content Type"="text/plain"
    "PerceivedType"="text"

    [HKEY_CLASSES_ROOT\.TXT\PersistentHandler]
    @="{5e941d80-bf96-11cd-b579-08002b30bfeb}"

    [HKEY_CLASSES_ROOT\.TXT\ShellNew]
    "ItemName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,\
      6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\
      00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,2c,00,\
      2d,00,34,00,37,00,30,00,00,00
    "NullFile"=""

    [HKEY_CLASSES_ROOT\txtfile]
    "EditFlags"=dword:00010000
    @="Text Document"
    "FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
      00,6f,00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
      32,00,5c,00,6e,00,6f,00,74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,\
      00,2c,00,2d,00,34,00,36,00,39,00,00,00

    [HKEY_CLASSES_ROOT\txtfile\DefaultIcon]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,69,00,6d,00,\
      61,00,67,00,65,00,72,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,\
      00,30,00,32,00,00,00

    [HKEY_CLASSES_ROOT\txtfile\shell\open\command]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
      54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
      00

    [HKEY_CLASSES_ROOT\txtfile\shell\print\command]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
      54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,2f,00,70,00,20,\
      00,25,00,31,00,00,00

    [HKEY_CLASSES_ROOT\txtfile\shell\printto\command]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6e,00,6f,00,\
      74,00,65,00,70,00,61,00,64,00,2e,00,65,00,78,00,65,00,20,00,2f,00,70,00,74,\
      00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,00,22,00,\
      25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00

    [HKEY_CLASSES_ROOT\txtfile\ShellEx\{8895b1c6-b41f-4c1c-a562-0d564250836f}]
    @="{1531d583-8375-4d3f-b5fb-d23bbd169f22}"

    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.TXT\UserChoice]

    [HKEY_CLASSES_ROOT\CLSID\{5e941d80-bf96-11cd-b579-08002b30bfeb}]
    @="Plain Text persistent handler"

    [HKEY_CLASSES_ROOT\CLSID\{5e941d80-bf96-11cd-b579-08002b30bfeb}\PersistentAddinsRegistered]

    [HKEY_CLASSES_ROOT\CLSID\{5e941d80-bf96-11cd-b579-08002b30bfeb}\PersistentAddinsRegistered\{89BCB740-6119-101A-BCB7-00DD010655AF}]
    @="{c1243ca0-bf96-11cd-b579-08002b30bfeb}"

    [HKEY_CLASSES_ROOT\CLSID\{c1243ca0-bf96-11cd-b579-08002b30bfeb}]
    @="Plain Text filter"
    "LocalizedString"="@query.dll,-511"

    [HKEY_CLASSES_ROOT\CLSID\{c1243ca0-bf96-11cd-b579-08002b30bfeb}\InprocServer32]
    @=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,71,00,75,00,\
      65,00,72,00,79,00,2e,00,64,00,6c,00,6c,00,00,00
    "ThreadingModel"="Both"

    [HKEY_CLASSES_ROOT\CLSID\{1531d583-8375-4d3f-b5fb-d23bbd169f22}]
    @="Windows TXT Previewer"
    "DisplayName"="@shell32.dll,-38242"
    "Icon"="notepad.exe,2"
    "AppID"="{6d2b5079-2f0b-48dd-ab7f-97cec514d30b}"

    [HKEY_CLASSES_ROOT\CLSID\{1531d583-8375-4d3f-b5fb-d23bbd169f22}\InProcServer32]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
      65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,00,00
    "ThreadingModel"="Apartment"

    neděle 19. července 2020 22:34
  • Takze uz nezjistime, cim PRESNE to bylo, protoze jsi opravoval chybne i spravne zaznamy :(

    MP

    pondělí 20. července 2020 7:03
    Moderátor
  • To mně nedošlo. Mrzí. Příště napravím..
    pondělí 20. července 2020 10:36
  • V poho, hlavne ze je vyresene. Jen me proste zajimalo ktery z tech zaznamu chybel nebo byl prepsan napr. nejakym textovym editorem 3. strany

    MP

    pondělí 20. července 2020 10:47
    Moderátor
  • Co ti vypise

    ftype|find /i "txt"
    toto?
    txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

    a dale
    reg query HKEY_CLASSES_ROOT\.txt\ShellNew

    toto?

    HKEY_CLASSES_ROOT\.txt\ShellNew
        ItemName    REG_EXPAND_SZ    @%SystemRoot%\system32\notepad.exe,-470
        NullFile    REG_SZ

    MP


    Teď už s křížkem po funusu, ale příkazový řádek mi vypsal přesně tohle.
    úterý 21. července 2020 9:43