How to recover a not saved notepad file?

imran klepo 1 Reputation point
2021-05-16T18:34:05.38+00:00

So i saved a notepad file but it didn't saved in the computer.
And i already tried the C:\Users\User\AppData\Roaming thing but it didn't worked!
Please! Its very important for work!
(Its a .txt file)

Windows for business Windows Client for IT Pros User experience Other
{count} votes

4 answers

Sort by: Most helpful
  1. Tejas Dhamankar 11 Reputation points
    2021-05-16T20:46:50.793+00:00

    Like I said in comment, If you remember saving the file.

    You can use below PowerShell Command :

    Get-ChildItem -Path "D:" -Filter "*.txt" -Recurse | ? { $_.LastWriteTime -gt (Get-Date).AddDays(-3) }
    

    explaination-
    Path = "D:" (D drive - you may change drive letter)

    Filtering = "*.txt" (searching for .txt file"

    LastWriteTime > "AddDays(-3)"
    you may change -3 to the days passed since the file may have been created/modified
    this command will search 3 days back.
    if you need it to search 5 days back, change -3 to -5.

    1 person found this answer helpful.

  2. Anonymous
    2021-05-16T18:42:46.827+00:00

    Open notepad then right click on the icon on the task bar, then you should see a list of the recent files.

    --please don't forget to Accept as answer if the reply is helpful--


  3. Ian Zheng 26 Reputation points
    2021-05-17T06:04:06.237+00:00

    Hello

    You can right-click the .txt, click Properties, and check whether the read-only option is checked. If it is checked, click Cancel, and then save.

    it the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  4. Anonymous
    2021-05-17T14:08:06.547+00:00

    Just checking if there's any progress or updates?

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.