Share via

files

Anonymous
2023-10-28T15:13:04+00:00

i recently I opened notepad to write some stuff but instead of opening a new page it opened a file to be specific a readme file for gta 2 that I deleted a long time ago I did try to find where the file was stored but did not see any results after searching through my c drive I did not find it I did screenshot the area but after closing the program I could not find it was my computer infected with something or was it like a cached memory or something?

Windows for home | Windows 11 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

14 answers

Sort by: Most helpful
  1. _AW_ 67,926 Reputation points Volunteer Moderator
    2023-10-31T12:11:53+00:00

    Notepad in Windows 11 now has the option to "Open content from the previous session"

    Image

    If your settings are as above, any tabs open when you close Notepad will be restored when you next run Notepad. Each tab is saved to a file in:

    %localappdata%\Packages\Microsoft.WindowsNotepad_8wekyb3d8bbwe\LocalState\TabState
    

    The files contain the original location of the file plus its content. If the file has been deleted from the original location and you close its corresponding tab, you'll get a dialog popping up asking if you want to save changes to "the file". Selecting yes will save a copy of the file (or try to) to its original location.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-10-29T15:05:32+00:00

    still dont see it is it a virus?

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-10-29T12:39:04+00:00

    It may be a hidden file, if you modify the folder view settings to enable hidden files it likely will be visible

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2023-10-29T07:31:33+00:00

    But while looking for the file in temp it does not exist and after closing the window I could never access the file.

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2023-10-28T15:46:01+00:00

    Hi, I'm Elise, a fellow user like yourself and I'd be happy to help with your issue.

    Looking at the path it is trying to save to, it seems to be held in your temp folder.

    You can either just clear this out manually by deleting the contents, or use the disk cleanup tool (just search for this in the start menu)

    Please let me know if you need any further assistance.

    Kind Regards,

    Elise

    Was this answer helpful?

    0 comments No comments