Lỗi : “corflags : error CF001 : Could not open file for writing” when trying to modify a Controller EXE file

Problem(Abstract)

Customer is trying to use ‘corflags.exe’ to modify a Controller executable (for example to solve problem in separate Technote 1508588). An error appears.

Symptom

corflags : error CF001 : Could not open file for writing

Cause

The operating system cannot modify the EXE file.

There are several possible causes for this:

  • Scenario #1 – Windows user running the command prompt does not have NTFS write access to the file
  • Scenario #2 – EXE file has the “read only” file flag ticked
  • Scenario #3 – Someone has got the EXE file (for example the program is running in Windows)

Resolving the problem

The solution varies depending on the cause:

  • Scenario #1 – Modify NTFS permission, or launch Command Prompt as a different (administrative) user
  • Scenario #2 – Right-click on the file, click “properties” and untick “read only” attribute.
  • Scenario #3 – Close the EXE file (currently running in Windows).

Nguồn : http://www-01.ibm.com/support/docview.wss?uid=swg21589922


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s