Page 2 of 3 First 123 Last
  1. #21

    Re: [W7] NTFS File System.

    The nfi.exe program does not support or I do not know how to use it to show UNICODE filename as well? Please help!


    • Ad Bot

      advertising
      Beep.

        
       

  2. #22
    Will Watts's Avatar
    Join Date
    Mar 2012
    Location
    %tmp%
    Posts
    5,359
    • specs System Specs
      • Manufacturer:
        Alienware M15x
      • Model Number:
        M15x
      • CPU:
        i5 520 M @ 2.40GHz
      • Memory:
        8GB
      • Graphics:
        ATI Radeon HD 5800
      • Hard Drives:
        720GB 7200 rpm
      • Operating System:
        Windows 8 + Ubuntu

    Re: [W7] NTFS File System.

    What is it exactly that you're trying to achieve? Is there a specific problem with your PC that you'd like help with?

    We can't help with outdated tools or their usage - you would probably struggle to even find many people at Microsoft who could tell you the full information about some of their older tools.

    If you're using NTFSInfo, all the info is here:
    NTFSInfo - Windows Sysinternals | Microsoft Docs

    If you're using nfi.exe - this tool is so outdated I can't even find it on the Microsoft website anymore. If the tool doesn't support it unicode filenames, it's unlikely anyone here will be able to tell you how to find out the information.
    Has Sysnative Forums helped you? Please consider donating to help support the forum.


  3. #23

    Re: [W7] NTFS File System.

    I do not know if it is not using, maybe Unicode uses some command?
    NTFSInfo is a useless tool for me!
    I will not repeat myself many times! If you do not know what it means, then please try to gain more knowledge.
    I still ask which tool to save information about:
    NTFS File ID
    Directory NTFS File ID

  4. #24
    Will Watts's Avatar
    Join Date
    Mar 2012
    Location
    %tmp%
    Posts
    5,359
    • specs System Specs
      • Manufacturer:
        Alienware M15x
      • Model Number:
        M15x
      • CPU:
        i5 520 M @ 2.40GHz
      • Memory:
        8GB
      • Graphics:
        ATI Radeon HD 5800
      • Hard Drives:
        720GB 7200 rpm
      • Operating System:
        Windows 8 + Ubuntu

    Re: [W7] NTFS File System.

    Quote Originally Posted by maki View Post
    I will not repeat myself many times! If you do not know what it means, then please try to gain more knowledge.
    Hi Maki,

    We're trying to help you here - if you're going to continue to be rude to us, I'm more than happy to add another ban to your account. Do you understand?

    Your question doesn't make sense, if you'd like our help you're going to need to be more clear about what you're asking. I appreciate that English is not your first language, but it's very hard for us to understand what you're trying to say. You may wish to "gain more knowledge" in this area.

    If you have the NTFS File ID already, then information on translating this into a filename is fairly scarce - there is this thread from 2008, but the tools it references are no longer available:
    Locating a file on an NTFS partition via the file number given by chkdsk... - Ars Technica OpenForum

    There is a potential answer here that might do what you're asking using NFI:
    windows 7 - Find file or directory by NTFS id - Super User

    Again, I'm not 100% clear on what you're asking. There have been multiple questions around chkdsk and NTFS file names - do you have a specific problem with your PC that we can help with?
    Has Sysnative Forums helped you? Please consider donating to help support the forum.


  5. #25

    Re: [W7] NTFS File System.

    Old NTFS is not perfect, it was only in Windows 10 that they improved the system to automatically correct system errors. Regarding Windows 7 - If CHKDSK determines file id 1076548 is problematic, it will damage it when repairing it.
    If I know the name of the file, I have a huge chance that sooner or later I will recover it without any problems.

  6. #26
    Will Watts's Avatar
    Join Date
    Mar 2012
    Location
    %tmp%
    Posts
    5,359
    • specs System Specs
      • Manufacturer:
        Alienware M15x
      • Model Number:
        M15x
      • CPU:
        i5 520 M @ 2.40GHz
      • Memory:
        8GB
      • Graphics:
        ATI Radeon HD 5800
      • Hard Drives:
        720GB 7200 rpm
      • Operating System:
        Windows 8 + Ubuntu

    Re: [W7] NTFS File System.

    There's no perfect system - you're right that NTFS and CHKDSK are not perfect, however from our experience (with the tool being run across 50-100 thousand different PCs) the risk of CHKDSK causing issues is very low. If you're encountering an issue with CHKDSK on your machine there may be some other factors contributing to this which make this an unusual case.

    The command from superuser should help with this, assuming the tool still works correctly on Windows 7.
    windows 7 - Find file or directory by NTFS id - Super User

    Please bear in mind that I have not tested the command as I don't have a Windows 7 machine to hand. Any tools are run at your own risk.
    Has Sysnative Forums helped you? Please consider donating to help support the forum.


  7. #27

    Re: [W7] NTFS File System.

    It even saves files quickly, but it only works with Non-Unicode file names.
    If it's Unicode then I will not save the ID of the file or folder.

    Example:
    Code:
    D:\ок

  8. #28
    Will Watts's Avatar
    Join Date
    Mar 2012
    Location
    %tmp%
    Posts
    5,359
    • specs System Specs
      • Manufacturer:
        Alienware M15x
      • Model Number:
        M15x
      • CPU:
        i5 520 M @ 2.40GHz
      • Memory:
        8GB
      • Graphics:
        ATI Radeon HD 5800
      • Hard Drives:
        720GB 7200 rpm
      • Operating System:
        Windows 8 + Ubuntu

    Re: [W7] NTFS File System.

    Hi Maki,

    I've no idea what you're trying to say here.

    Did the solution from superuser work? Is there a different problem?
    Has Sysnative Forums helped you? Please consider donating to help support the forum.


  9. #29

    Re: [W7] NTFS File System.

    Work but not all.
    I used a simple command to save information about files, but I still do not know the correct command to save information about files from Unicode (eg Russian names or Chinese or many other languages in the names of folders or files)
    I tried -UTF-8 but it seems incorrect.
    Perhaps I should do it in PowerShel (better than CMD) and support Unicode?
    I do not have an account on that forum, but it would be useful to ask someone about it.

  10. #30

    Re: [W7] NTFS File System.


  11. #31
    xilolee's Avatar
    Join Date
    Dec 2013
    Location
    World, Europe, Italy
    Posts
    2,260
    • specs System Specs
      • Manufacturer:
        XILOLEE.com
      • Model Number:
        XILO
      • Motherboard:
        ASROCK FM2A88M Pro3+ chipset A88X Bolton-D4
      • CPU:
        A10-7800, 4 CPU, 4 thr, 65/45W, FM2+, 28nm, Steamroller/Kaveri
      • Memory:
        10GB (Nanya and kingston ddr3-1333 9-9-9-24)
      • Graphics:
        Radeon R7 720MHz (8 GPU cores, integrated in CPU)
      • Sound Card:
        RealTek ALC662 (integrated in MB)
      • Hard Drives:
        Seagate ST500DM002-1BD142 500GB 7200RPM
      • Power Supply:
        SuperFlower 450W 80+ Platinum (SF-450P14PE)
      • Case:
        Sharkoon VG4-S
      • Cooling:
        Realtek RTL8111GR (NIC integrated in MB)
      • Display:
        Samsung SyncMaster SA100 LS22A100NS-EN
      • Operating System:
        Windows 10 Home/Standard x64

    Re: [W7] NTFS File System.

    I usually use this command:
    Code:
    chcp 1252 | YourCommandHere > "%userprofile%\desktop\YourReport.txt"
    As an example, when I set the system in Italian, the dir command shows:
    C:\>dir /a
    Il volume nell'unit C
    If I redirects the output to a text file on the desktop, those two characters aren't shown correctly.
    In that case, I must use that command:
    Code:
    chcp 1252 | dir /a > "%userprofile%\desktop\files list inside c partition.txt"
    CHange Code Page, chcp 1252, is valid for West European Latin.
    You should try 855 for Cyrillic (Russian).
    Last edited by xilolee; 12-25-2017 at 02:46 PM.

  12. #32

    Re: [W7] NTFS File System.

    I have tested, I still do not record all paths with non-English names.
    NTFS File Sector Information Utility. Copyright (C) Microsoft Corporation 199 - Pastebin.com

    Example Path:
    D:\Плетение\545994_0\jW3ZaGm9A.jpg

  13. #33
    xilolee's Avatar
    Join Date
    Dec 2013
    Location
    World, Europe, Italy
    Posts
    2,260
    • specs System Specs
      • Manufacturer:
        XILOLEE.com
      • Model Number:
        XILO
      • Motherboard:
        ASROCK FM2A88M Pro3+ chipset A88X Bolton-D4
      • CPU:
        A10-7800, 4 CPU, 4 thr, 65/45W, FM2+, 28nm, Steamroller/Kaveri
      • Memory:
        10GB (Nanya and kingston ddr3-1333 9-9-9-24)
      • Graphics:
        Radeon R7 720MHz (8 GPU cores, integrated in CPU)
      • Sound Card:
        RealTek ALC662 (integrated in MB)
      • Hard Drives:
        Seagate ST500DM002-1BD142 500GB 7200RPM
      • Power Supply:
        SuperFlower 450W 80+ Platinum (SF-450P14PE)
      • Case:
        Sharkoon VG4-S
      • Cooling:
        Realtek RTL8111GR (NIC integrated in MB)
      • Display:
        Samsung SyncMaster SA100 LS22A100NS-EN
      • Operating System:
        Windows 10 Home/Standard x64

    Re: [W7] NTFS File System.

    It actually doesn't help the fact you are using NFI.exe, while we are trying to understand what you're doing without having the tool at hand.
    Couldn't you provide the tool to us (so we can try to help you better)?
    Or a working link to it?
    Is it the NFI.exe tool that is giving you bad encoding results?
    Or are you redirecting the results to notepad/notepad++ or another editor?
    Or what?
    Last edited by xilolee; 12-25-2017 at 04:47 PM.

  14. #34

    Re: [W7] NTFS File System.

    xilolee - Create any folder or file with non-English name and check if it will register information about this file, folder in the log.
    Download:
    OEM Support Tools Phase 3 Service Release 2 Availability

    Example:
    chcp 1252 | nfi.exe > "%userprofile%\desktop\log.txt"

  15. #35
    xilolee's Avatar
    Join Date
    Dec 2013
    Location
    World, Europe, Italy
    Posts
    2,260
    • specs System Specs
      • Manufacturer:
        XILOLEE.com
      • Model Number:
        XILO
      • Motherboard:
        ASROCK FM2A88M Pro3+ chipset A88X Bolton-D4
      • CPU:
        A10-7800, 4 CPU, 4 thr, 65/45W, FM2+, 28nm, Steamroller/Kaveri
      • Memory:
        10GB (Nanya and kingston ddr3-1333 9-9-9-24)
      • Graphics:
        Radeon R7 720MHz (8 GPU cores, integrated in CPU)
      • Sound Card:
        RealTek ALC662 (integrated in MB)
      • Hard Drives:
        Seagate ST500DM002-1BD142 500GB 7200RPM
      • Power Supply:
        SuperFlower 450W 80+ Platinum (SF-450P14PE)
      • Case:
        Sharkoon VG4-S
      • Cooling:
        Realtek RTL8111GR (NIC integrated in MB)
      • Display:
        Samsung SyncMaster SA100 LS22A100NS-EN
      • Operating System:
        Windows 10 Home/Standard x64

    Re: [W7] NTFS File System.

    Ok (downloaded and tried).
    What editor are you using to show the results?
    Or the problem you're experiencing is directly inside the command prompt when you are using the NFI tool?

  16. #36

    Re: [W7] NTFS File System.

    Ex: Notepad++ (but it does not matter what text editor you use.)
    Shows the file ID, but does not include the folder name or file (missing)
    \missing
    It should show:
    \ок {russian filename)

    Code:
    File 119
    
    
    \
    
    
        $STANDARD_INFORMATION (resident)
    
    
        $FILE_NAME (resident)
    
    
        $OBJECT_ID (resident)
    
    
        $INDEX_ROOT $I30 (resident)

  17. #37
    xilolee's Avatar
    Join Date
    Dec 2013
    Location
    World, Europe, Italy
    Posts
    2,260
    • specs System Specs
      • Manufacturer:
        XILOLEE.com
      • Model Number:
        XILO
      • Motherboard:
        ASROCK FM2A88M Pro3+ chipset A88X Bolton-D4
      • CPU:
        A10-7800, 4 CPU, 4 thr, 65/45W, FM2+, 28nm, Steamroller/Kaveri
      • Memory:
        10GB (Nanya and kingston ddr3-1333 9-9-9-24)
      • Graphics:
        Radeon R7 720MHz (8 GPU cores, integrated in CPU)
      • Sound Card:
        RealTek ALC662 (integrated in MB)
      • Hard Drives:
        Seagate ST500DM002-1BD142 500GB 7200RPM
      • Power Supply:
        SuperFlower 450W 80+ Platinum (SF-450P14PE)
      • Case:
        Sharkoon VG4-S
      • Cooling:
        Realtek RTL8111GR (NIC integrated in MB)
      • Display:
        Samsung SyncMaster SA100 LS22A100NS-EN
      • Operating System:
        Windows 10 Home/Standard x64

    Re: [W7] NTFS File System.

    That's strange because notepad++ shows the text directly in UTF-8 encoding.
    At least here in this machine without having changed strange settings...
    Not sure why we are writing in two threads about the same matter.
    Anyway, you can try this command at your own risk:
    reg add "HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage" /v OEMCP /t reg_sz /d 65001
    Output:

    C:\>reg add "HKLM\SYSTEM\CurrentControlSet\Control\Nls\CodePage" /v OEMCP /t reg_sz /d 65001
    Value OEMCP exists, overwrite(Yes/No)? yes
    The operation completed successfully.

    C:\>
    I think this thing needs a reboot: I tried to open another command prompt window, but the code page is still 850.
    I didn't try to reboot.
    The default value on my system is 850, and that value is shown in the properties of an opened command prompt window (instance), in options tab, under Current code page.
    Someone says this is risky (not sure why), therefore remember to reverts back to the default value when you finished your task.

  18. #38

    Re: [W7] NTFS File System.

    add multiple encodings

    Code:
    @ECHO off
    
    SET ROOT_KEY="HKEY_CURRENT_USER"
    
    
    FOR /f "skip=2 tokens=3" %%i in ('reg query HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\CodePage /v OEMCP') do set OEMCP=%%i
    
    ECHO System default values:
    
    ECHO.
    ECHO ...............................................
    ECHO Select Codepage 
    ECHO ...............................................
    ECHO.
    ECHO 1 - CP1252
    ECHO 2 - UTF-8
    ECHO 3 - CP850
    ECHO 4 - ISO-8859-1
    ECHO 5 - ISO-8859-15
    ECHO 6 - US-ASCII
    ECHO.
    ECHO 9 - Reset to System Default (CP%OEMCP%)
    ECHO 0 - EXIT
    ECHO.
    
    
    SET /P  CP="Select a Codepage: "
    
    if %CP%==1 (
        echo Set default Codepage to CP1252
        reg add "%ROOT_KEY%\Software\Microsoft\Command Processor" /v Autorun /t REG_SZ /d "@chcp 1252>nul" /f
    ) else if %CP%==2 (
        echo Set default Codepage to UTF-8
        reg add "%ROOT_KEY%\Software\Microsoft\Command Processor" /v Autorun /t REG_SZ /d "@chcp 65001>nul" /f
    ) else if %CP%==3 (
        echo Set default Codepage to CP850
        reg add "%ROOT_KEY%\Software\Microsoft\Command Processor" /v Autorun /t REG_SZ /d "@chcp 850>nul" /f
    ) else if %CP%==4 (
        echo Set default Codepage to ISO-8859-1
        add "%ROOT_KEY%\Software\Microsoft\Command Processor" /v Autorun /t REG_SZ /d "@chcp 28591>nul" /f
    ) else if %CP%==5 (
        echo Set default Codepage to ISO-8859-15
        add "%ROOT_KEY%\Software\Microsoft\Command Processor" /v Autorun /t REG_SZ /d "@chcp 28605>nul" /f
    ) else if %CP%==6 (
        echo Set default Codepage to ASCII
        add "%ROOT_KEY%\Software\Microsoft\Command Processor" /v Autorun /t REG_SZ /d "@chcp 20127>nul" /f
    ) else if %CP%==9 (
        echo Reset Codepage to System Default
        reg delete "%ROOT_KEY%\Software\Microsoft\Command Processor" /v AutoRun /f
    ) else if %CP%==0 (
        echo Bye
    ) else (
        echo Invalid choice
        pause
    )

  19. #39
    xilolee's Avatar
    Join Date
    Dec 2013
    Location
    World, Europe, Italy
    Posts
    2,260
    • specs System Specs
      • Manufacturer:
        XILOLEE.com
      • Model Number:
        XILO
      • Motherboard:
        ASROCK FM2A88M Pro3+ chipset A88X Bolton-D4
      • CPU:
        A10-7800, 4 CPU, 4 thr, 65/45W, FM2+, 28nm, Steamroller/Kaveri
      • Memory:
        10GB (Nanya and kingston ddr3-1333 9-9-9-24)
      • Graphics:
        Radeon R7 720MHz (8 GPU cores, integrated in CPU)
      • Sound Card:
        RealTek ALC662 (integrated in MB)
      • Hard Drives:
        Seagate ST500DM002-1BD142 500GB 7200RPM
      • Power Supply:
        SuperFlower 450W 80+ Platinum (SF-450P14PE)
      • Case:
        Sharkoon VG4-S
      • Cooling:
        Realtek RTL8111GR (NIC integrated in MB)
      • Display:
        Samsung SyncMaster SA100 LS22A100NS-EN
      • Operating System:
        Windows 10 Home/Standard x64

    Re: [W7] NTFS File System.

    The command, I showed you in my previous reply, worked (after I rebooted):

    [W7] NTFS File System.-unicodecmdprompt-jpg

    Could you try to see if it serves your purpose?

  20. #40

    Re: [W7] NTFS File System.

    Yes, correctly set the coding in CMD, just change the font and OK.
    Code:
    Microsoft Windows [Wersja 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. Wszelkie prawa zastrzeľone.
    
    
    C:\Windows\system32>chcp 65001
    Aktywna strona kodowa: 65001
    
    
    C:\Windows\system32>ок

    But, despite trying hard, he does not write non-English names.
    Only backslash and file id shows without additional information about the file path.

Page 2 of 3 First 123 Last

Similar Threads

  1. BSOD loop NTFS/FAT file system error
    By landy2100 in forum BSOD, Crashes, Kernel Debugging
    Replies: 9
    Last Post: 07-29-2016, 06:57 AM
  2. Replies: 2
    Last Post: 07-26-2014, 11:17 AM
  3. System File Checker, Corrupt File Help
    By gkennedy88 in forum Windows Update
    Replies: 2
    Last Post: 07-01-2014, 06:59 AM
  4. Will Win 8 Give Us a New File System?
    By Temmu in forum Windows 8 | Windows RT
    Replies: 5
    Last Post: 05-15-2012, 03:24 PM
  5. Redesigning chkdsk and the new NTFS health model
    By Corrine in forum Windows 8 | Windows RT
    Replies: 3
    Last Post: 05-10-2012, 05:57 AM

Log in

Log in