0

I'm trying to use:

"C:\Program Files (x86)\Resource Hacker\ResourceHacker" -modify "C:\MyProjectDir\x64\Release\MyAppName.exe", "C:\MyProjectDir\x64\Release\MyAppName.exe", "C:\MyProjectDir\MyAppName\myicon.ico", ICONGROUP, MAINICON, 0

and all I get is:

Error: invalid command
Failed!

I've tried with no 0 after the last comma as well, no difference. What am I doing wrong?

TIA!!

1 Answer 1

0

The command line used is for older versions of Resource Hacker, for the latest versions use:

"C:\Program Files (x86)\Resource Hacker\ResourceHacker.exe" -open "C:\MyProjectDir\x64\Release\MyAppName.exe" -save "C:\MyProjectDir\x64\Release\MyAppName.exe" -action modify -res "C:\MyProjectDir\MyAppName\myicon.ico" -mask ICONGROUP,MAINICON,
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.