Report on DLL version

Hi,

trying to determine the version of the dll file , how would i set that up for 32 and 64 bit

C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.DirectoryServices.dll

for 64bit, change the framework to framework64

Thanks

I’d probably just do something like this:

if (x64 of operating system) then (version of file "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\System.DirectoryServices.dll") else (version of file "C:\Windows\Microsoft.NET\Framework\v2.0.50727\System.DirectoryServices.dll")
1 Like

Thanks for your help. It worked well.

I would do it this way:

unique values of (it as string) of versions of files "System.DirectoryServices.dll" of folders "v2.0.50727" of folders whose(name of it starts with "Framework") of folders "C:\Windows\Microsoft.NET"

This is the same concept I use to check all User folders for something, and many other similar problems.

Also, see this related example:

folders of folders whose( name of it starts with "Program Files" ) of folders "C:"

This relevance gives you the names of all application folders on both x64 and x32 bit systems.

1 Like