Using @Execute with multiple Windows platforms

This tip describes how to use @Execute with multiple Windows platforms.

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)


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)
 
This was first published in February 2003

Dig deeper on Lotus Notes Domino Formula Language

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchDataCenter

SearchExchange

SearchContentManagement

Close