If this happens when you click on the field, it would appear the field has been set up as a button that performs a script that let's you choose between using Export field contents to export the file to your desktop or which uses export field contents with the "automatically open file" option to export the file and then open it.
This is just a guess from what you describe here. Note that if the file is not inserted into the container field with the "store by reference" option specified, exporting the file is the only way you can open the file to "view" it. It could, however, be modified to export the file to the temporary items folder to avoid cluttering up your desktop.
You'll need to check out the script and see what it does and then learn how to modify it to produce what you want. (You haven't really spelled out here what change you want to see here.) You can enter layout mode, then double click the file to see if it's set up as a button. If it is button setup... will open with "Perform Script" selected. Click the specify button to bring up the specify script button, then pull down the "gear" drop down to select edit and open the script for editing.
Oh sorry, I forgot to mention that I simply want to (if possible) click on the view option to see it and not have it also export to the desktop. It sounds like I need to set up the temporary items folder to avoid that from what you've said and what I've read in other related posts here.
Thanks for the information. Time to figure out how the last person set this up.
Just keep in mind that you would not need to export the field contents if the file were inserted with the "store by reference" option.