How to know Unity version of an Unity project without open it?

Is there a way to know unity version in just windows folders? Without open it in unity editor

Under ProjectSettings in the project folder there’s a ProjectVersion.txt.

@ducklin
You mean in just windows without an open unity editor

So here is a simple trick

GOTO Your Project > Library
Open any .Asset format file in notepad.
After opening the file you can see the unity version in the first line.

Here is what I found after going through all of my old projects:

For 5.x and later, the Unity version can be found in ProjectSettings\ProjectVersion.txt.

For 4.x, the version can be found by opening a .asset file in notepad and looking at the first few bytes.

I have yet to find a good way to determine the version for projects last opened in 3.x or earlier.

Looks like there is a file called version.txt in the Library/UnityAssemblies folder. The very first line is the Unity version.

Not seeing it in the first line of an asset.
Only seeing something like this:

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
— !u!28 &2800000
Texture2D:
m_ObjectHideFlags:…

I found the unity version of my project in the Unith Hub, below the project name.

Additionally it can find in Assembly-CSharp.csproj XML field 2019.4.8f1

open file Assembly-CSharp.csproj in any text editor

and search unityVersion in the file