Microsoft Word document automatically moves to Recycle bin

Névtelen
2022-07-17T23:00:28+00:00

I am currently working on a coding project at the company where I work. The code generates a word document, which can be used for administrative things. I don't want to go into details, but the point is that, since one of the new Microsoft version there is an error (this version came out this year, not sure which one). When the code generates the word document, it is opened automatically as it should be, but it is also moved to the recycle bin, without any warning. The code used to work properly, so I assume the new Microsoft update changed something.

Are you aware of any similar effect on Microsoft Word? What should I check?

Microsoft 365 és Office | Word | Egyéb | Windows

Zárolt kérdés. Ez a kérdés a Microsoft támogatási közösségéből lett áttelepítve. Szavazhat arról, hogy hasznos-e, de nem adhat hozzá megjegyzéseket vagy válaszokat, és nem követheti a kérdést.

0 megjegyzés Nincsenek megjegyzések

3 válasz

Rendezés alapja: Legújabb
  1. Névtelen
    2022-07-18T22:29:47+00:00

    Hi Razorthesharp,

    I'm Sneha and I'd be happy to help you out with your question.

    Hi, I have checked for it and it's not a Word App or a Windows Operating System issue, it's either because of any Virus or Malware in your System, Please follow below steps to fix it :-

    Go to CMD- use this command.
    CHKDSK C:
    SFC /SCANNOW

    After that if it do not fix your system Go to Settings -> System -> Storage -> Disable Storage Sense feature.

    Now restart and check whether your file getting automatically deleted or not.

    If still get deleted it's issue in Code or IDE not in the Word or Windows.

    If issue still persist can you provide code(not whole just a block of code which is creating and opening file automatically, I believe it may have deletion task after closing it) and environment/IDE you're using to get it done to observe and find issue in it.

    I hope this information helps. If you have any questions, please let me know and be glad to assist you further.

    Best Regards,
    Sneha

    Hasznos volt ez a válasz?

    Ezt a választ 2 személy találta hasznosnak.
    0 megjegyzés Nincsenek megjegyzések
  2. Névtelen
    2022-07-18T21:14:56+00:00

    Hi Sneha,

    Thank you for the answer.

    Unfortunately, this is not the issue. Documents are saved with .doc extension, and without any temporary file character.

    Is there any other reason, a word document can be automatically deleted? Did this year's microsoft update changed something for Word?

    Kind regards,

    András

    Hasznos volt ez a válasz?

    0 megjegyzés Nincsenek megjegyzések
  3. Névtelen
    2022-07-17T23:46:02+00:00

    Hi Razorthesharp,

    I'm Sneha and I'd be happy to help you out with your question.

    It's not any issue in word or it's not happening due to word, it's happening due to feature of auto deletion of Temporary files.

    The files which are getting created possibly are stored with extension .tmp or it's name possibly starts with ~ sign if any of case is there so system will consider it as Temporary file and will delete it automatically to avoid it please use file name with any special symbol and specially with .docx extension.

    For more information on it refer to following documentation :- https://support.microsoft.com/en-us/topic/description-of-how-word-creates-temporary-files-66b112fb-d2c0-8f40-a0be-70a367cc4c85

    I hope this information helps. If you have any questions, please let me know and be glad to assist you further.

    Best Regards,
    Sneha

    Hasznos volt ez a válasz?

    Ezt a választ 2 személy találta hasznosnak.
    0 megjegyzés Nincsenek megjegyzések