Manage Learn to apply best practices and optimize your operations.

Using Execute when your PC uses two different versions of an application

This tip describes how to use Execute when your PC uses two different versions of an application

My company used to have two versions of Excel (97 and 2000) running on many of its PCs. As a result, I always had to save documents in 97 format.

Now that we've gotten rid of the 97 application, many users tell me that when they launch an 2000 spreadsheet or run the Execute command from Notes, it always tries to open the 97 Excel version. I believe Notes stores that "preference" and it's not easy to override.

Generally, when coding the EXECUTE command, you're told you need to provide an application name. I've found that this is not true. You can bypass the application name and let your PC decide the best application for the file provided.

The help documentation for the EXECUTE command implies that the application name is required for the command to run. However, it will run without the application name and this is a great shortcut if your company uses many versions of the same program and you want to force the most recent version to open the file.


OLD CODE:
@Command( [Execute];"Excel"; "\NEWARK74SALESAgent"+Office+ "-"+AppName+ ".xls")

NEW CODE: (Simply remove "Excel" (the application name)) @Command( [Execute]; "\NEWARK74SALESAgent"+Office +"-"+AppName+ ".xls")

Dig Deeper on Lotus Notes Domino Formula Language

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-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 ...

SearchDataCenter

SearchContentManagement

Close