![]() |
Помогите найти ошибку
Код:
Global $sProgs1 = 'RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE", "TestKey", "REG_SZ", "Hello this is a test")=Тест' |
Цитата:
|
Он должен выполнить операцию RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE", "TestKey", "REG_SZ", "Hello this is a test") т.е. добавить Hello this is a test в реестр.
|
Centrinar,
AutoIt.chm: RunWait Runs an external program and pauses script execution until the program finishes. Call Calls a user-defined function contained in a string parameter. |
Цитата:
Код:
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE", "TestKey", "REG_SZ", "Hello this is a test") |
в том то и смысл что нужно именнов том варианте который я написал
|
Цитата:
|
мда... делать Run на RegWrite... это сильно
Цитата:
|
Вот пример записи и чтения из реестра:
Код:
RegWrite("HKEY_LOCAL_MACHINE\Software\Test", "TestKey", "REG_SZ", @ScriptFullPath) |
Время: 20:43. |
Время: 20:43.
© OSzone.net 2001-