윈도우자료실


ResHacker

Command Line Syntax:

  Just about all the functionality of Resource Hacker� can be accessed from the command line without having to open the Resource Hacker� GUI.
  Command line instructions and Resource Hacker� scripts can remove the drudgery entailed with repeating Resource Hacker� tasks.
 Commandline instructions are a combination of switch statements followed by switch parameters as explained in the following table:    
  Command line statements:
                                                        
Switch Parameter
-open filename - the name of the file that is to be modified. It should be a Windows PE file (*.exe, *.dll etc) or a compiled or uncompiled resouce file (*.res or *.rc)
-save filename - the new name of the modified or newly created file, either a modified opened file or an extracted resource
-resource     filename - contains a resource being added to the opened file.
-action action to be performed on the opened file
 
  •  
  • compile - compiles a text resource file (*.rc) 
  • add - add a resource, fails if it already exists 
  • addskip - add a resource, skips if it already exists 
  • addoverwrite - add a resource, overwrites if it already exists 
  • extract - extract a resource 
  • delete - delete a resource 
 
-mask resource mask - Type,Name,Language
  commas are mandatory but each of Type, Name & Language are optional
-log Filename or CONSOLE or NUL
  CONSOLE can be abbreviated to CON
  Logs the details of the operation performed
  If this switch is omitted, the log will be written to resourcehacker.log
-script filename - contains a multi-command script, NOT a resource script for more info: -help script
-help options - commandline or script (always logged to CONSOLE) other switches are ignored.

   Notes: 
  1.  
  2. Switch identifiers (except -script) may be abbreviated down to a single char (eg -res or -r). 
  3. Switch instructions do not have to be in any particular order. 
  4. File names that contain spaces must be enclosed within double quotes. 
   
 

Comments


<
Category
State
  • 현재 접속자 207 명
  • 오늘 방문자 964 명
  • 어제 방문자 1,044 명
  • 최대 방문자 7,216 명
  • 전체 방문자 1,800,344 명
  • 전체 게시물 33,624 개
  • 전체 댓글수 47 개
  • 전체 회원수 535 명
Facebook Twitter GooglePlus KakaoStory NaverBand