Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 238
  • Last Modified:

Creating .rtf files

When I create a new file in Wordpad, it is a Word .doc file.
  Here is what I want to accomplish.
  In Wordpad, I want the new files to be .rtf files.
   In MS Word, I want new files to be .doc  but with the option of creating .rtf files whenever I want.
   Probably some combination of files associations, and TweakUI tricks should be able to accomplish this.
(Right now on the context right-click menu, New files include Word .doc and .txt files.)
0
cma
Asked:
cma
  • 7
  • 4
1 Solution
 
dankhCommented:
CMA,

   Changing the default file save in Word is easy: go to tools/options/save and select your format.  As for giving you the option to save in different formats, select the 'save as' button and it will allow you to amend the format for word docs there.  Changing wordpad's default save may prove difficult.  however, you can select to 'save as' in Wordpad as in word and select the docs you mention of.
0
 
cmaAuthor Commented:
dankh has solved first half of question and should get 100 points.  
  I can now open Word files as .rtf by default.

 Now what I want to be able to do is open or create .rtf files by default with Wordpad, not Word. (When I open an .rtf file, Word opens it. Although if I first start Wordpad, then use Newfile, it will be an .rtf file.)
I think I need to add  some key to the registry under .rtf but I am not sure.
0
 
dankhCommented:
CMA,

  If i understand the latter part of your comment correctly, you can have Wordpad open RTF files by default.  Go to Explorer/view/options/File Types and find 'Rich Text Format.'  From there, you should be able to edit which program to use when you open up a RTF file.  If this works, tell me to post an answer.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
dankhCommented:
CMA,

   One more suggestion:

Once you instruct the computer to use WordPad to handle RTF files, you can create a shortcut to a xxx.rtf file and that will open up WordPad with a .rtf extension.  That is, create a blank .rtf file (name it something like default.rtf) and click on that to use WordPad.  When you save data written to that default RTF, all you need to do is hit save and rename the file and it will be saved in RTF format.  You can reuse the default.rtf indefinitely.
0
 
cmaAuthor Commented:
We have made more progress. When I open an .rtf file, it opens with Wordpad by default. However, I always get an error message:
"Cannot find file 'C:\WordpadFiles\default.rtf' (or one of its components). Make sure path and filename are correct...'
    Or if I try to open another .rtf file, it does open, but get same error message but with the file name instead of "default.rtf".
   How to get rid of the error message? Perhaps the registry expects .rtf files to be somewhere else?

0
 
dankhCommented:
CMA,

   You probably altered the default.rtf file (renamed it or something).  Try this, delete the original default.rtf file and create a new one.  On this new one, right click it and bring up the properties box.  Check the 'read only' box.  This will protect the original from changes.  Give it a try and tell me how this works.
0
 
OttaCommented:
Wordpad is fairly "dumb"; it's quite possible that there is no way to tell it to create a RTF file.
0
 
dankhCommented:
CMA,

   I think you will have to instruct it manually to save as a RTF file.  Wordpad defaults to .doc and i think the only way to change that is to alter its code.  
0
 
dankhCommented:
CMA,

   However, with the prescribed method above, you can kinda fool Wordpad into saving all docs into .rtf format.
0
 
cmaAuthor Commented:
Didn't work but thanks for good asssistance.dnakh should get 200  points.
0
 
dankhCommented:
Cma,

   Here is the post to reward me the points.  Thanks.  I guess anyone who accesses this question can read the remarks.
0
 
cmaAuthor Commented:
I finally found the solution to get rid of the error message.
 In wordpad, can tell wordpad to make .rtf files the default editor.
0

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now