DLF Posted January 6, 2005 Share Posted January 6, 2005 REG ADD %KEY% /V FLAGS /D "dword:00000018" /fWhilst searching and browsing the threads I have seen this line of code directly under some peoples' TITLE key in their RunOnceEx.cmd examples. Can someone enlighten me as to what it is and does? I have recently changed over to RunOnceEx from batch_file.cmd on my UA XPCD with the help of the recommended "RunOnceEx Creator" and it doesn't create this key for me. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted January 6, 2005 Share Posted January 6, 2005 Well I was getting bored so I decided to try this command.The good news is it didn't format my drive The bad news is I don't know what it does I didn't see any difference... maybe I was hopping something like RunOnceEx background color change, or allowing a larger window with more text... Link to comment Share on other sites More sharing options...
jbm Posted January 6, 2005 Share Posted January 6, 2005 I noticed this to and found this on the MS web site.http://support.microsoft.com/default.aspx?...kb;en-us;232509This doesn't mention XP but I tried setting the bits to createa .err and a .log file but no files were created. Link to comment Share on other sites More sharing options...
MHz Posted January 6, 2005 Share Posted January 6, 2005 REG ADD %KEY% /V FLAGS /D "dword:00000018" /fWhilst searching and browsing the threads I have seen this line of code directly under some peoples' TITLE key in their RunOnceEx.cmd examples.That syntax is bad.Note: Dec 144 turns to Hex 90 belowTry this instead.REG ADD %KEY% /V Flags /T REG_DWORD /D "144" /fUnsure of definite results, but looks better.The values are cumulative. If you want "No Status Dialog" and "Create Error Log File," set Flags to hexadecimal 90 (80 + 10). Link to comment Share on other sites More sharing options...
DLF Posted January 6, 2005 Author Share Posted January 6, 2005 @MHzWhat does it actually do then?????????That syntax is badThat ACTUAL syntax is copied from Bashrats' Basic Driver Pack instructions!! If you look at Stage 5 editing your RunOnceEx.cmd or Batch_file.cmd of Method 1 it appears on his example too.So how many people are actually now using it withour knowing what it is or does! And if you say its wrong, then I believe you. So if you know the syntax is bad, you must know what it does - can you tell us? Link to comment Share on other sites More sharing options...
pinout Posted January 6, 2005 Share Posted January 6, 2005 REG ADD %KEY% /V FLAGS /D "dword:00000018" /fMHz - You don't need to convert the hex into dec. the syntax needs to be 0xREG ADD %KEY% /V FLAGS /T REG_DWORD /D "0x00000018" /f Link to comment Share on other sites More sharing options...
Incroyable HULK Posted January 6, 2005 Share Posted January 6, 2005 WoW! 5 post and we still don't have a clue of what this line is supposed to do Link to comment Share on other sites More sharing options...
Martin Zugec Posted January 6, 2005 Share Posted January 6, 2005 We do of course... Look at the link jbm posted, it is No Error Dialog + Create Error Log File.Problem is, I never seen it working Tried to use 0x30 to have logs and error logs, but didnt work Link to comment Share on other sites More sharing options...
Bâshrat the Sneaky Posted January 6, 2005 Share Posted January 6, 2005 Hehe It's indeed inthere, but it does nothing... It wasn't meant to get into the DriverPacks instructions. I have been trying to get this error flag to work, but couldn't manage to. Why would I want it? Because the RunOnceEx didn't work as it should: about 20 apps did get installed without any problems and one didn't get executed at all. So I tried this error flag, but without _any_ results. I'll remove it in the next version, but it doesn't hurt. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted January 6, 2005 Share Posted January 6, 2005 Is there some other parameter we can use to control the appearance of RunOnceEx? Like fonts, background, spacing, etc...Don't answer me to use WPI! Link to comment Share on other sites More sharing options...
MHz Posted January 6, 2005 Share Posted January 6, 2005 @DLFCheck the Microsoft link for what it does. The setting I gave is for what is quoted at the bottom of my 1st post.@pinoutThe Reg Add command handles Decimal, not Hexidecimal.Do some testing to find out for yourself. Link to comment Share on other sites More sharing options...
pinout Posted January 6, 2005 Share Posted January 6, 2005 MHz, I did Microsoft Windows 2000 [Version 5.00.2195](C) Copyright 1985-2000 Microsoft Corp.C:\>REG ADD HKLM /v TEST /t REG_DWORD /d "0x00000018" /fThe operation completed successfullyC:\>REG QUERY HKLM /v TEST! REG.EXE VERSION 2.0HKEY_LOCAL_MACHINE TEST REG_DWORD 0x18 Link to comment Share on other sites More sharing options...
MHz Posted January 6, 2005 Share Posted January 6, 2005 @pinoutYour correct. Does accept Hex. Thanks for enlightning me. Link to comment Share on other sites More sharing options...
Martin Zugec Posted January 6, 2005 Share Posted January 6, 2005 But still the same - Flags looks like not working... Or is it only my problem? Link to comment Share on other sites More sharing options...
DLF Posted January 6, 2005 Author Share Posted January 6, 2005 @ Incroyable Hulk, Bashrat et al = looks like a bag of bull**** to me - wont be adding it myself. And thanks to Soulin for the answer on what it actually does.@MHz = If you knew what it does, would it have really hurt you to say so? Instead of writing more words directing people to a dodgy M$ site than it would have took to explain it. It wasnt as if I was asking why my $OEM$ folder hadnt been copied over. Get a life and get out more man. Link to comment Share on other sites More sharing options...
Recommended Posts