Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'View WordPerfect for Windows files with formatting' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
View WordPerfect for Windows files with formatting
Authored by: one2meny on Sep 08, '06 03:33:28PM

None, that's the problem. I execute the command through the contextual menu on one of my student's word perfect papers and nothing happens at all. No web browser opens, no change to the file is made, just nothing. Do I need to put the wp2html file somewhere special? Right now it is in the default HD/opt/wpcnv/bin/ location that it installed to.

Thanks for your help and it's a great tip, I just know nothing about unix.

[ Reply to This | # ]
View WordPerfect for Windows files with formatting
Authored by: deef on Sep 08, '06 07:00:24PM

If you open a terminal window and type

which wpd2html

does it show you the path?

If not you will need to add the path to your .bash_profile (a file of commands which is run each time you open a terminal window). The easiest way to do this is to 1) open a terminal window
2) enter the command

cd ~

3) enter the command

cp .bash_profile .bash_profile.old

thereby making a copy in case something gets screwed can reverse this if you need to by typing cp .bash_profile.old .bash_profile

4) enter the command

pico .bash_profile

to open the pico text editor (or you can do this with another text editor of your choice...being an old pine hand I like pico...)

5) scroll to the bottom of the document (it may be completely blank)

6) add the following lines

export PATH

7) hit ctrl-X to exit, Y to confirm the changes, and accept the existing filename

8) to test this, once you've exited pico, type

source .bash_profile
which wpd2html

it should now show you the path.

It should work then...

[ Reply to This | # ]
When I enter "cp .bash_profile .bash_profile.old", I get...
Authored by: jiclark on Sep 09, '06 04:59:16PM

cp: .bash_profile: No such file or directory

And this is after I've cd-ed to my home directory. Why wouldn't I have a bash_profile?

Man, the CLI can sure stump me...


[ Reply to This | # ]
When I enter "cp .bash_profile .bash_profile.old", I get...
Authored by: deef on Sep 11, '06 12:16:48PM

Hi -- I didn't consider that possibility since I've already loaded lots of stuff into my .bash_profile -- but even if you get the "No such file or directory" message on step 3 you can actually proceed with step 4 -- when you type the command

pico .bash_profile

pico (the text editor) will either edit it (if it exists) or create it (if it doesn't), so the rest of the steps will be the same.


[ Reply to This | # ]
make sure wpd2html is in your PATH
Authored by: deef on Sep 08, '06 07:19:38PM

see the comment above...just forgot to change the title

[ Reply to This | # ]