Use winword.exe command to launch OO Writer

Asked by glcombrink

Our organization uses IBM AS/400 systems for most of our accounting and database needs. I have Ubuntu 7.10 connecting to our network, and, using IBM's iSeries Client software for Linux, to our AS/400 systems. The problem I have run into is that for some reports the AS/400 system generates a MS Word document and passes it through to the PC by calling winword.exe. On a Windows PC, I have made it work with Open Office Writer by adding the Open Office folder to the path and renaming the swriter.exe to winword.exe. With these simple changes, when I call up a document on the AS/400, it opens Writer and passes through the document.

Is there a way to accomplish something like this on Ubuntu? This seems to be the last hurdle before we can start using Ubuntu instead of Windows on our desktop systems.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Vojtěch Trefný
Solved:
Last query:
Last reply:
Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#1

Since you cannot run MS Word on Linux without Wine I think you don't need to do this, but tell me if I wrong :)

Revision history for this message
glcombrink (glcombrink) said :
#2

Actually, I don't want to run MS Word, but rather accept the winword.exe command from the system and have it open Writer instead. I suppose that I could use Wine and the Windows version of Open Office, but would rather not if possible.

Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#3

I don't understand why, but I give you the solution however:
sudo ln -s /usr/bin/oowriter /usr/local/bin/winword.exe

Revision history for this message
Best Vojtěch Trefný (vojtech.trefny) said :
#4

"I don't understand why, but I give you the solution however:
sudo ln -s /usr/bin/oowriter /usr/local/bin/winword.exe"
→ you've made a simlink - when you run winword.exe it runs oowriter...

Revision history for this message
Andrea Corbellini (andrea.corbellini) said :
#5

> you've made a simlink - when you run winword.exe it runs oowriter...
Yes, where's the problem?