@amirhossein.jafarii
You need to re-associate the file extension .rvt with the right Revit.exe. Usually Done via the registry; however, if you are not familiar with that, you can try if the following works
(Even if they are already associated with Revit, re-associate them)
- From windows file explorer, select and right clock a .rvt file
- Select Open With
- Make sure to check Always use this APp to open .rvt
- Select More Apps
- Scroll down to "look for another apps on this PC"
- Navigate to C:\Program Files\Autodesk\Revit 2022 (or Replace 2022 with the latest version you are using)
- Select the Revit.exe found in that folder

If the above doesn't work, you will need to
- re-associate the Shell/Open/Command with the right application -
- Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Revit.Project\shell\open\command
- and set the DDEexec to [open("%1")]
- Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Revit.Project\shell\open\ddeexec
If you are not familiar with editing the registry, it would be best if you ask an IT specialist to assist you with that