Good old Windows stores things like imaging in different hard drive locations. This tip evaluates the version of the operating system so the correct path can be executed.
Windows NT =(4.0)
Windows 2000 =(5.0)
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
Create a hidden field called "Platform" Formula:- @RegQueryValue ("HKEY_LOCAL_MACHINE"; "SoftwareMicrosoftWindows NTCurrentVersion"; "CurrentVersion") Now use an @If to execute the correct path E.G. @If(Plat="5.0";@Command([Execute]; "C:Program FilesWindows NTAccessoriesImageVuekodakimg.exe";Path); C:Program FilesWindows NTAccessoriesImageVuewangimg.exe"; Path)