VBScript Scripting Techniques > Working with Files > File Versions
| Shell.Application: ProductVersion | |
|---|---|
| Return a file's product version | |
| VBScript Code: | Download 💾 |
|
|
| Requirements: | |
| Windows version: | 2000 and later with .NET Framework 2.0 or later |
| Network: | any |
| Script Engine: | any |
| Summarized: | Works in Windows 2000 and later versions with .NET Framework 2.0 or later installed; works with all scripting engines; may require the addition of a translation for "Product Version" in languages other than English and Dutch. |
| [Back to the top of this page] | |
| WindowsInstaller.Installer: ProductVersion | |
|---|---|
| Rerurn an MSI file's product version | |
| VBScript Code: | |
|
|
| Requirements: | |
| Windows version: | Windows XP or later |
| Network: | any |
| Script Engine: | any |
| Summarized: | Works in Windows XP and later versions with all scripting engines. |
| [Back to the top of this page] | |
| Scripting.FileSystemObject: GetFileVersion | |
|---|---|
| Rerurn a file's file version | |
| VBScript Code: | |
|
|
| Requirements: | |
| Windows version: | any |
| Network: | any |
| Script Engine: | any |
| Summarized: | Works in all Windows versions with all scripting engines. |
| [Back to the top of this page] | |
| Scripting.FileSystemObject: DateLastModified | |
|---|---|
| Rerurn a file's timestamp | |
| VBScript Code: | |
|
|
| Requirements: | |
| Windows version: | any |
| Network: | any |
| Script Engine: | any |
| Summarized: | Works in all Windows versions with all scripting engines. |
| [Back to the top of this page] | |
| CompareVersions | |
|---|---|
| Compare two version strings digit by digit | |
| VBScript Code: | |
|
|
| Requirements: | |
| Windows version: | any |
| Network: | any |
| Script Engine: | any |
| Summarized: | Works in all Windows versions with all scripting engines. |
| [Back to the top of this page] | |
page last modified: 2025-10-16; loaded in 0.0105 seconds