semiono Posted January 23, 2010 Share Posted January 23, 2010 (edited) [Version] Signature=$Windows NT$ [DefaultInstall] AddReg=Add.Reg [Add.Reg] ; smoething like this example in valid synops: HKLM,"Software\Classes\AVIFile\Extensions\AVI",,0,"{00020000-0000-0000-C000-000000000046}" ; ... ; ENDHow to get it from RegRead(), FileWright(), something... etc. ???And I need more compile it as console application with cmd switchers, some like the# xrg2inf.exe /v InstallDir,"Content Dir" /k "HKLM\Software\My Prog" "C:\my path\new 1.inf" /addor_all_values_support_ - xrg2inf.exe /v * /k "HKLM\Software\My Prog" "C:\my path\new 1.inf"Please build it a tool for me and all peoples!? It's good idea!?i newbie.---I have problem with getting type of all values from registry and converting it in INF formatHKLM,"SOFTWARE\test","New Value #1",0x20000,"zzzzzzzzzzzzzzzzzz" HKLM,"SOFTWARE\test","New Value #2",0x10001,ff,ff,ff,ff HKLM,"SOFTWARE\test","New Value #3",0x10000,"z","z","z","z","zzz" Edited January 23, 2010 by semiono Link to comment Share on other sites More sharing options...
ProgAndy Posted January 23, 2010 Share Posted January 23, 2010 (edited) Some information on the Reg-Key format in INF-Files: http://vlaurie.com/computers2/Articles/inf-file.htm Edited January 23, 2010 by ProgAndy *GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes Link to comment Share on other sites More sharing options...
semiono Posted January 23, 2010 Author Share Posted January 23, 2010 (edited) Thanks! Good info page! Ok, i read about reg types rulles....I could wish to extract from registry, not import or edit.....hmmm.. how i may to check it from the script -0x00000000 REG_SZ0x00000001 REG_BINARY0x00010000 REG_MULTI_SZ0x00020000 REG_EXPAND_SZ0x00010001 REG_DWORD0x00020001 REG_NONEand get it as-is "0x00010001" per types??i very low understanding logic structures like If... EndIf (Possible it need for checks the types...)Please give me "full" an example for my the question... Edited January 23, 2010 by semiono Link to comment Share on other sites More sharing options...
semiono Posted January 23, 2010 Author Share Posted January 23, 2010 What is the pattern to revert a string? abc 2 cba or 123 to 321 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now