CopyMinder Knowledge Base
Browse By Category: | Look Up Error Number: | Search: |
Glossary | Contact Us |
Where is the .cm file located
Views: 3559
Rating: 10
Rating: 10
Rate It:
The <program name>.cm file can be in a number of possible locations.
From release 46 of the .cm file onwards, CopyMinder looks in the following locations for the .cm file:
- If there is a <program name>.cm.ini file in the same folder as the protected program and it contains a Path variable, then it will look for the .cm file in that path.
- If the API method of protection was used and the CM_SetPath function has been called then it will look in the specified path.
- It will look in ProgramPath, i.e. the path containing your protected program
- It will look in ProgramPathcm where ProgramPath is the path containing your protected program
- It will look in APPDATADIDProdCodecm where APPDATA is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:Documents and SettingsUser1Application DataAABCcm).
- It will look in ALLUSERSPROFILEdidProdCodecm where ALLUSERSPROFILE is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:ProgramDataAABCcm).
Prior to release 46 of the .cm file, CopyMinder looks in the following locations for the .cm file:
- If there is a <program name>.cm.ini file in the same folder as the protected program and it contains a Path variable, then it will look for the .cm file in that path.
- If the API method of protection was used and the CM_SetPath function has been called then it will look in the specified path.
- It will look in APPDATAdidProdCodecm where APPDATA is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:Documents and SettingsUser1Application DataAABCcm).
- It will look in ALLUSERSPROFILEdidProdCodecm where ALLUSERSPROFILE is a variable specified in the Windows Environment, did is your unique CopyMinder Developer ID and ProdCode is the Product Code you specified for this product (e.g. C:ProgramDataAABCcm).
- It will look in ProgramPath, i.e. the path containing your protected program
- It will look in ProgramPathcm where ProgramPath is the path containing your protected program
More Help
If this article did not help you to solve your problem, please use the menu at the top of the page to browse or search more articles, or to contact our support team.
Others in this Category