![]() |
KnowBrainer Speech Recognition | ![]() |


|
Topic Title: Corrupt MyCmds Topic Summary: MyCmds.dat repeatedly becomes corrupt. Created On: 03/22/2012 09:55 AM Status: Post and Reply |
|
![]() |
- drbhomer | - 03/22/2012 09:55 AM |
![]() |
- R. Wilke | - 03/22/2012 11:07 AM |
![]() |
- drbhomer | - 03/22/2012 12:09 PM |
![]() |
- R. Wilke | - 03/22/2012 01:24 PM |
![]() |
- drbhomer | - 03/22/2012 02:37 PM |
![]() |
- R. Wilke | - 03/22/2012 03:17 PM |
![]() |
- Larry Allen | - 03/23/2012 08:50 AM |
![]() |
- Lunis Orcutt | - 03/22/2012 02:19 PM |
![]() |
- drbhomer | - 03/22/2012 02:40 PM |
![]() |
- Lunis Orcutt | - 03/22/2012 09:30 PM |
|
|
|
|
I have been using DNS med v10.1 for ~2yrs. Over the years I have created and successfully used hundreds of macros (saved in MyCmds). In a past post I reported that for some reason the MyCmds.dat file becomes corrupt in such a way that Dragon will recognize old commands but will not recognize any new commands that I create. Thanks to this forum the only successful "fix" was to delete MyCommands, reboot, then import an older saved MyCmds.dat file that I know was not corrupt at the time it was saved. I recently upgraded to Dragon Medical Practice 11 and Knowbrainer 2011 and the problem continues. Every MyCmds.dat file that I import will become corrupt within a few days. The odd thing is that when the file becomes corrupt Dragon will still recognize old commands but will not recognize any new commands that I create.
HELP!!!
Any advice will be greatly appreciated as I am constantly creating ne commands on a daily basis. |
|
|
|
|
|
|
|
|
I would suggest exporting your custom commands manually from the file while it is still intact (not corrupted), and re-importing them into a new MyCmds.dat file. In order to do this, use the export/import utility in the commands browser. Rüdiger
------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|
|
|
|
|
|
|
|
Thanks for the advise. As you can see from my post, I've already tried that approach, however, the imported file eventually becomes corrupt as well.
Thanks! |
|
|
|
|
|
|
|
|
Quote: As you can see from my post, I've already tried that approach My understanding is that your approach is to delete the file MyCmds.dat when it becomes corrupted, and copy over a previous version, which again will become corrupted. My suggestion then was to try a different approach. Rüdiger
------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|
|
|
|
|
|
|
|
Hi Rudger, I think we are on the same page but something is getting lost in translation, unless, there is a difference between deleting MyCmds from the Command Browser, from Exporting them. My process was as follows: the "healthy" MyCmds.dat files were originally "Exported", when I learned that my custom made commands became corrupt I would then delete "corrupt" MyCmds from the Command Browser, then an old "healthy" MyCmds.dat file was imported via the Command Browser. Soon enough it becomes corrupt again. Unless I am misunderstanding your suggestion I am assuming that I did exactly what you suggested? |
|
|
|
|
|
|
|
|
Quote: Unless I am misunderstanding your suggestion I am assuming that I did exactly what you suggested? Obviously, there is a slight misunderstanding going on. My suggestion is to not export/import the entire file because that turns out as to become corrupted sooner or later as it seems, but to export/import your individual custom commands by creating a dedicated DAT or XML file. To do this, open the command browser with a MyCmds.dat containing your custom commands loaded, while it is still intact, and choose "Manage", which will give you a screen like this:
Just make sure that you place a checkmark in every box showing up, then choose "Export", which will take you to a file save dialog next where you have to enter a name for the export file and a location to save to. Then, delete MyCmds.dat from the profile, but don't re-import MyCmds.dat the next time, but close the profile and relaunch it. This will make it start with a new MyCmds.dat this time (in manufacturer state so to speak, therefore likely not going to get corrupted any longer). Now, in order to add your custom commands from the previous version, re-import them using your own export file as described above. You may get prompted that the commands need to be validated, just confirm, and you will be prompted whether to overwrite existing commands, just say no. I hope this is a little clearer now, and you can go ahead like this. Rüdiger
------------------------- Well, it's past the point where we can make any changes in the code, but we can still make changes to the Easter Egg! |
|
|
|
|
|
|
|
|
I concur with this technique. But one possibly-important detail is that the export to XML is slightly different than the export to DAT format. Given the command corruption, I suggest the export to XML. Over the years I've had two instances where the export to XML then import from XML has worked while the export/import from DAT does not solve the corruption issue. If you have "validation" errors in the import from XML process, pay attention to them as it may suggest commands that have problems that need to be addressed.
------------------------- Larry Allen |
|
|
|
|
|
|
|
|
This may or may not relate to your issue but at one point we decided to create an Advanced Scripting command from within Microsoft Word. It was a mistake. We manually typed the command which produced curly quotes. After copying our Advanced Scripting command into the DNS Command Browser, the curly quotes appeared as straight quotes and were indecipherable from straight quotes but the commands would only work during that session of NaturallySpeaking. As soon as we closed and re-launched NaturallySpeaking, the new commands and any newer commands we created would no longer functioned although all previously created macros would work fine. How's that for odd? We are just wondering if our experience may be related to your issue in some way.
It's extremely rare for the MyCmds.dat file to become corrupted and is obviously happening far too often. If you don't have a crazy amount of commands, it might be prudent to re-create all of your commands from scratch, within the DNS Command Browser. Short of that option, keeping multiple copies of your MyCmds.dat file on hand may work as a temporary workaround. -------------------------
|
|
|
|
|
|
|
|
|
Hi Lunis, I do have close to a thousand commands so I am trying to avoid starting from scratch. Do you think uninstalling DNS Medical 10.1 and Dragon Medical Practice 11, then reinstalling from scratch, then importing a healthy MyCmds.dat file would be a prudent, permanent solution? |
|
|
|
|
|
|
|
|
Did you, by any chance, install Medical 11 over-the-top of Medical 10? If so, we recommend uninstalling Medical 11, running DNS10.1 Remover to eliminate every trace of Medical 10 and reinstalling your Medical 11 upgrade as a full installation. You just need your Medical 10 disk (no installation) or our KnowBrainer Installation/Training Guide.
Note that if you upgraded your Medical 10 user profile to Medical 11, we additionally recommend creating a new pure Ver. 11 user profile. PS: We definitely can't recommend re-creating all those commands from scratch. -------------------------
|
|
|
|
|
FuseTalk Standard Edition v4.0 - © 1999-2013 FuseTalk™ Inc. All rights reserved.