Solved Strange problem with zero-byte text files


kelper

Well-known member
Pro User
VIP
Local time
10:53 PM
Posts
2,757
Location
The Highlands of Scotland
OS
Windows 11 Pro 24H2 26100.2894
I use Notepad to write myself short memos. When I look in File Explorer, or use DIR in a command prompt, three of them show zero bytes and zero bytes on disk.
Yet when I click on them they open and the content is visible. Eventually, I found that Notepad is caching these memos elsewhere!
Note pad was set to open continuing the previous session and I think this was the reason. I have changed this to start a new session.

When I opened each zero-byte file and saved it with a new name, that file did show bytes for size and size on disk.

But oddly, when I now open the original files, they are empty!
 

My Computers

System One System Two

  • OS
    Windows 11 Pro 24H2 26100.2894
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    150 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
I found a way to revert back to the classic notepad because I didn't want all that capability just to leave myself a note. If I need more then I can always open a docx file.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel
    CPU
    Intel(R) Core(TM) i9-14900K
    Motherboard
    GIGABYTE Z790 AORUS Elite X WIFI7
    Memory
    Corsair 128GB (4x32GB) DDR5 5600MT/S CL40 Memory Kit
    Graphics Card(s)
    Onboard
    Sound Card
    Onboard
    Monitor(s) Displays
    43 inch 4k
    Screen Resolution
    2k (2560 x 1440)
    Hard Drives
    WD_BLACK 1TB NVMe SSD with Heatsink 7300 mb/s
    PSU
    MEG Ai1300P PCIE 5 & ATX 3.0 PSU 1300 watts
    Case
    Phanteks (PH-ES614PTG_BK) Enthoo Pro ATX , Tempered Glass, Integrated RGB Lighting
    Cooling
    ENERMAX LIQMAXFLO 360mm A-RGB AIO CPU Liquid Cooler
    Keyboard
    Wireless logitech
    Mouse
    Wireless logitech
I found a way to revert back to the classic notepad because I didn't want all that capability just to leave myself a note. If I need more then I can always open a docx file.
I hear you.
This is why I still use candles. That electricity thing will never catch on. :zany:
 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 400MB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
I hear you.
This is why I still use candles. That electricity thing will never catch on. :zany:

If I could run my pc on candles then I'd give it a go (y)

But a bloated notepad is like dragging out every tool I have just to change a lightbulb.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel
    CPU
    Intel(R) Core(TM) i9-14900K
    Motherboard
    GIGABYTE Z790 AORUS Elite X WIFI7
    Memory
    Corsair 128GB (4x32GB) DDR5 5600MT/S CL40 Memory Kit
    Graphics Card(s)
    Onboard
    Sound Card
    Onboard
    Monitor(s) Displays
    43 inch 4k
    Screen Resolution
    2k (2560 x 1440)
    Hard Drives
    WD_BLACK 1TB NVMe SSD with Heatsink 7300 mb/s
    PSU
    MEG Ai1300P PCIE 5 & ATX 3.0 PSU 1300 watts
    Case
    Phanteks (PH-ES614PTG_BK) Enthoo Pro ATX , Tempered Glass, Integrated RGB Lighting
    Cooling
    ENERMAX LIQMAXFLO 360mm A-RGB AIO CPU Liquid Cooler
    Keyboard
    Wireless logitech
    Mouse
    Wireless logitech
For making, auto-saving and 'sleeping' notes give Stickies a try. You won't be disappointed. You can get a Portable Stickies too. If you go down the Portable route then be sure to always use the file StickiesPortable.exe to launch Stickies — if you don't do that it causes problems.
 

My Computers

System One System Two

  • OS
    Win 11 Pro. 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Customised "Chillblast Apex Intel Core i7 Office PC"
    CPU
    Intel Core i7-14700 (Raptor Lake)
    Motherboard
    ASUS Prime B760M-A WiFi D4
    Memory
    32GB Corsair Vengeance LPX (DDR4)
    Graphics Card(s)
    Intel UHD 770 — onboard standard as supplied by Intel/Asus
    Monitor(s) Displays
    Dell P2421 24 inch WUXGA (1920x1200) 16:10 Monitor
    Screen Resolution
    1920x1200
    Hard Drives
    First (Boot Drive Only): 2TB Samsung SSD 990 Pro.
    Second (Data Drive) 2TB Samsung SSD 990 Pro.
    PSU
    850W Corsair RM850x 80 Plus Gold
    Cooling
    Just standard fans for both the case and CPU.
    Keyboard
    Unicomp Model M (IBM Style keyboard)
    Mouse
    Wired Mouse
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender
  • Operating System
    Win 11 Pro 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo Legion Pro 7i Gen 9 (16" Intel)
    CPU
    14th Generation Intel® Core™ i9-14900HX
    Memory
    32 GB DDR5-5600MHz
    Graphics card(s)
    NVIDIA® GeForce RTX™ 4080 Laptop GPU 12GB GDDR6
    Monitor(s) Displays
    16" WQXGA (2560 x 1600), IPS, Anti-Glare, Non-Touch, HDR 40
    Screen Resolution
    2560 x 1600
    Hard Drives
    First (Boot): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Second (Data): 1 TB SSD M.2 2280 PCIe Gen4 TLC
    Mouse
    Wired Mouse
    Keyboard
    Per-Key RGB-Coloured Backlit - English (UK)
    Internet Speed
    1.6 MB/s
    Browser
    Firefox
    Antivirus
    Microsoft's Defender

Latest Support Threads

Back
Top Bottom