·¹Áö½ºÆ®¸®¿¡ °ªÀ» ¾¹´Ï´Ù.
RegWrite, ValueType, RootKey\SubKey [, ValueName, Value] ; v1.1.21+ RegWrite, ValueType, RootKey, SubKey [, ValueName, Value]
¹Ýµå½Ã REG_SZ, REG_EXPAND_SZ, REG_MULTI_SZ, REG_DWORD, ¶Ç´Â REG_BINARY Áß Çϳª.
¹Ýµå½Ã HKEY_LOCAL_MACHINE, HKEY_USERS, HKEY_CURRENT_USER, HKEY_CLASSES_ROOT, ¶Ç´Â HKEY_CURRENT_CONFIG (¶Ç´Â HKLM¿Í °°Àº ¾àÀÚ) Áß Çϳª. ¿ø°Ý ·¹Áö½ºÆ®¸®¿¡ Á¢±ÙÇÏ·Á¸é, ´ÙÀ½ ¿¹Á¦¿Í °°ÀÌ ¾Õ¿¡ ÄÄÇ»ÅÍ À̸§°ú ½ÖÁ¡ (¶Ç´Â v1.1.21+À̸é, Á¤»ç¼±)À» ¹èÄ¡ÇϽʽÿÀ: \\workstation01:HKEY_LOCAL_MACHINE
ÇÏÀ§Å°ÀÇ À̸§ (¿¹, Software\SomeApplication). SubKey°¡ Á¸ÀçÇÏÁö ¾ÊÀ¸¸é, (ÇÊ¿äÇÏ¸é ±×ÀÇ Á¶»óµµ ÇÔ²²) »ý¼ºµË´Ï´Ù. SubKey°¡ ºñ¾î ÀÖÀ¸¸é, °ªÀº Á÷Á¢ÀûÀ¸·Î RootKey¿¡ ¾º¿©Áý´Ï´Ù (±×·¸Áö¸¸ ¾î¶² ¿î¿µ üÁ¦´Â HKEY_CURRENT_USERÀÌ ÃÖ»óÀ§ ·¹º§¿¡ ¾²´Â °ÍÀ» °ÅºÎÇÒ ¼öµµ ÀÖ½À´Ï´Ù).
RootKey ´ÙÀ½¿¡ ¹Ù·Î Á¤»ç¼± (\
)ÀÌ µû¶ó¿À¸é, RootKey ¿Í SubKey´Â ÇϳªÀÇ ¸Å°³º¯¼ö·Î ÇÕº´µË´Ï´Ù.
¾º¿©Áú °ªÀÇ À̸§. ºñ¾î Àְųª »ý·«Çϸé, SubkeyÀÇ ±âº»°ªÀÌ »ç¿ëµË´Ï´Ù. ±âº» °ªÀº RegEdit°¡ "(Default)"·Î º¸¿©ÁÖ´Â °ªÀÔ´Ï´Ù.
¾º¿©Áú °ª. »ý·«Çϸé, ValueType¿¡ µû¶ó ºó ¹®ÀÚ¿ ¶Ç´Â 0ÀÌ ±âº»°ªÀÔ´Ï´Ù. ÅؽºÆ®°¡ ±æ¸é, °è¼Ó ¼½¼ÇÀ» ¼ö´ÜÀ¸·Î ªÀº ÁÙ·Î °¡¸¦ ¼ö ÀÖ½À´Ï´Ù. ÀÌ·¸°Ô ÇÏ¸é °¡µ¶¼º°ú À¯Áö°ü¸®¼ºÀÌ Çâ»óµË´Ï´Ù.
[v1.1.04+] ÀÌ ¸í·É¾î´Â ¿¹¿Ü½Ã ¿¡·¯¸¦ ´øÁú ¼ö ÀÖ½À´Ï´Ù. ´õ ÀÚ¼¼ÇÑ Á¤º¸´Â ½ÇÇà½Ã°£ ¿¡·¯¸¦ ÂüÁ¶ÇϽʽÿÀ.
ErrorLevelÀº ¹®Á¦°¡ ÀÖ¾úÀ¸¸é 1ÀÌ ¼³Á¤µÇ°í ±×·¸Áö ¾ÊÀ¸¸é 0ÀÌ ¼³Á¤µË´Ï´Ù.
A_LastErrorÀº ¿î¿µ üÁ¦ÀÇ GetLastError() ÇÔ¼öÀÇ °á°ú°¡ ¼³Á¤µË´Ï´Ù.
ValueTypeÀÌ REG_DWORDÀ̸é, Value´Â -2147483648¿Í 4294967295 (0xFFFFFFFF) »çÀÌÀÇ °ªÀ̾î¾ß ÇÕ´Ï´Ù.
REG_BINARY Å°¸¦ ¾µ ¶§, ½ÊÀ°Áø ¹®ÀÚ·Î ±¸¼ºµÈ ¹®ÀÚ¿À» »ç¿ëÇϽʽÿÀ. ¿¹¸¦ µé¾î REG_BINARY °ªÀÌ 01,a9,ff,77 ÀÌ¸é ¹®ÀÚ¿ 01A9FF77À» »ç¿ëÇØ ¾µ ¼ö ÀÖ½À´Ï´Ù.
REG_MULTI_SZ Å°¸¦ ¾µ ¶§, °¢ ±¸¼º¿ä¼Ò¸¦ ´ÙÀ½ ±¸¼º¿ä¼Ò¿Í ¶óÀÎÇÇµå ¹®ÀÚ·Î °¥¶ó¾ß ÇÕ´Ï´Ù (`n). ¸¶Áö¸· ±¸¼º¿ä¼Ò´Â ¼±ÅÃÀûÀ¸·Î ¶óÀÎÇǵå·Î ³¡³ªµµ µË´Ï´Ù. ºó ±¸¼º¿ä¼Ò´Â Çã¿ëÇÏÁö ¾Ê½À´Ï´Ù. ´Ù¸¥ ¸»·Î, µÎ °³ÀÇ ¶óÀÎÇǵ带 ÇÑ ÁÙ¿¡ ÁöÁ¤ÇÏÁö ¸¶½Ê½Ã¿À (`n`n). ¿Ö³ÄÇÏ¸é ±×·¸°Ô ÇÏ¸é ¿¹»óº¸´Ù ´õ ªÀº °ªÀÌ ·¹Áö½ºÆ®¸®¿¡ ¾º¿©Áö±â ¶§¹®ÀÔ´Ï´Ù.
REG_BINARY¿Í REG_MULTI_SZ °ªÀÌ 64Kº¸´Ù Å©¸é v1.1.10.01 ÀÌÈÄ¿¡¼¸¸ Áö¿øÇÕ´Ï´Ù. ¿¹Àü ¹öÀü¿¡¼´Â 64K±îÁö ¸¸ ³²±â°í Àß¶ó³» ¹ö¸³´Ï´Ù.
¿©·¯ ·¹Áö½ºÆ®¸®³ª Å°¸¦ ¿¶÷ÇÏ°í ó¸®ÇÏ·Á¸é, ·¹Áö½ºÆ®¸®-ȸµ¹ÀÌÀÇ »ç¿ëÀ» °í·ÁÇØ º¸½Ê½Ã¿À.
¿ø°Ý ÄÄÇ»ÅÍÀÇ ·¹Áö½ºÆ®¸®¿¡ Á¢±ÙÇÏ´Â ¹ý¿¡ °üÇÑ ´õ ÀÚ¼¼ÇÑ Á¤º¸´Â ·¹Áö½ºÆ®¸®-ȸµ¹ÀÌÀÇ ³íÆòÀ» ÂüÁ¶ÇϽʽÿÀ.
32-ºñÆ® ½ºÅ©¸³Æ®¿¡¼ 64ºñÆ®- ¼½¼ÇÀÇ ·¹Áö½ºÆ®¸®¸¦ ¶Ç´Â ±× ¹Ý´ë·Î ÀÐ°í ¾²·Á¸é, SetRegView¸¦ »ç¿ëÇϽʽÿÀ.
RegDelete, RegRead, Registry-loop, SetRegView, IniWrite
RegWrite, REG_SZ, HKEY_LOCAL_MACHINE, SOFTWARE\TestKey, MyValueName, Test Value RegWrite, REG_BINARY, HKEY_CURRENT_USER, Software\TEST_APP, TEST_NAME, 01A9FF77 RegWrite, REG_MULTI_SZ, HKEY_CURRENT_USER, Software\TEST_APP, TEST_NAME, Line1`nLine2 ; ¶Ç´Ù¸¥ ±¸¹® (v1.1.21+ ÇÊ¿ä): RegWrite, REG_SZ, HKEY_LOCAL_MACHINE\SOFTWARE\TestKey, MyValueName, Test Value RegWrite, REG_BINARY, HKEY_CURRENT_USER\Software\TEST_APP, TEST_NAME, 01A9FF77 RegWrite, REG_MULTI_SZ, HKEY_CURRENT_USER\Software\TEST_APP, TEST_NAME, Line1`nLine2