1. Desktop icon location - Registry
- Posted by Lucius L. Hilley III <Euphoria at unkmar.com> Sep 08, 2005
- 541 views
Al Getz wrote: > > Hello again, > > > Ok, posted a picture (of the registry where the screen desktop icon > positions are located). Am not sure how to attach this photo to a > message. > > BTW still havent found a way to programmatically change the desktop > icon positions and have them stick for the next reboot. Yes, they > change, but then go back with reboot. Any ideas appreciated. > > > Take care, > Al > > And, good luck with your Euphoria programming! > > My bumper sticker: "I brake for LED's" Depending on the OS. Win9x/ME for example. Use DOS based regedit command in a batch file during boot sequence before the GUI starts to load. WinXP - Good luck. Possible you similiar scheme by booting Safe mode with Command prompt. That mode doesn't load Explorer therefore doesn't load the Desktop or Icons. So, it might be possible to make the changes at that point. Another idea is to to have the command executed very early in the boot process. That would require a registry entry, possibly RunServices would do it. Surely a tag along at the VxD loading level would do it. But that would definately be a hack. You shouldn't be tagging code at the level. Too virus like. Lucius L. Hilley III - Unkmar
2. Re: Desktop icon location - Registry
- Posted by Greg Haberek <ghaberek at gmail.com> Sep 08, 2005
- 528 views
- Last edited Sep 09, 2005
> Depending on the OS. Win9x/ME for example. > Use DOS based regedit command in a batch file during boot sequence > before the GUI starts to load. > > WinXP - Good luck. Possible you similiar scheme by booting > Safe mode with Command prompt. That mode doesn't load Explorer > therefore doesn't load the Desktop or Icons. So, it might be > possible to make the changes at that point. Another idea is to > to have the command executed very early in the boot process. > That would require a registry entry, possibly RunServices would > do it. Surely a tag along at the VxD loading level would do it. > But that would definately be a hack. You shouldn't be tagging > code at the level. Too virus like. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce Try popping an entry into either of these keys. 'Run' will run a command every time the user logs in, while 'RunOnce' will run the command once then delete it. ~Greg
3. Re: Desktop icon location - Registry
- Posted by Lucius L. Hilley III <Euphoria at unkmar.com> Sep 08, 2005
- 523 views
- Last edited Sep 09, 2005
Greg Haberek wrote: > > > Depending on the OS. Win9x/ME for example. > > Use DOS based regedit command in a batch file during boot sequence > > before the GUI starts to load. > > > > WinXP - Good luck. Possible you similiar scheme by booting > > Safe mode with Command prompt. That mode doesn't load Explorer > > therefore doesn't load the Desktop or Icons. So, it might be > > possible to make the changes at that point. Another idea is to > > to have the command executed very early in the boot process. > > That would require a registry entry, possibly RunServices would > > do it. Surely a tag along at the VxD loading level would do it. > > But that would definately be a hack. You shouldn't be tagging > > code at the level. Too virus like. > > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce > > Try popping an entry into either of these keys. 'Run' will run a > command every time the user logs in, while 'RunOnce' will run the > command once then delete it. > > ~Greg Entries in those locations usually allow explorer to load before they are executed. Therefore, overriding any changes you may be attempting. You must either make your changes: After Explorer has shutdown and saved the current desktop icon settings. OR Before Explorer gets a chance to read the desktop icon settings. Lucius L. Hilley III - Unkmar
4. Re: Desktop icon location - Registry
- Posted by Al Getz <Xaxo at aol.com> Sep 09, 2005
- 508 views
Lucius L. Hilley III wrote: > > Al Getz wrote: > > > > Hello again, > > > > > > Ok, posted a picture (of the registry where the screen desktop icon > > positions are located). Am not sure how to attach this photo to a > > message. > > > > BTW still havent found a way to programmatically change the desktop > > icon positions and have them stick for the next reboot. Yes, they > > change, but then go back with reboot. Any ideas appreciated. > > > > > > Take care, > > Al > > > > And, good luck with your Euphoria programming! > > > > My bumper sticker: "I brake for LED's" > > Depending on the OS. Win9x/ME for example. > Use DOS based regedit command in a batch file during boot sequence > before the GUI starts to load. > > WinXP - Good luck. Possible you similiar scheme by booting > Safe mode with Command prompt. That mode doesn't load Explorer > therefore doesn't load the Desktop or Icons. So, it might be > possible to make the changes at that point. Another idea is to > to have the command executed very early in the boot process. > That would require a registry entry, possibly RunServices would > do it. Surely a tag along at the VxD loading level would do it. > But that would definately be a hack. You shouldn't be tagging > code at the level. Too virus like. > > Lucius L. Hilley III - Unkmar > Hi there, Yeah, i didnt want to reload the reg either. I thought there might be a command or function call or something somewhere. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"
5. Re: Desktop icon location - Registry
- Posted by Al Getz <Xaxo at aol.com> Sep 09, 2005
- 485 views
Greg Haberek wrote: > > > Depending on the OS. Win9x/ME for example. > > Use DOS based regedit command in a batch file during boot sequence > > before the GUI starts to load. > > > > WinXP - Good luck. Possible you similiar scheme by booting > > Safe mode with Command prompt. That mode doesn't load Explorer > > therefore doesn't load the Desktop or Icons. So, it might be > > possible to make the changes at that point. Another idea is to > > to have the command executed very early in the boot process. > > That would require a registry entry, possibly RunServices would > > do it. Surely a tag along at the VxD loading level would do it. > > But that would definately be a hack. You shouldn't be tagging > > code at the level. Too virus like. > > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce > > Try popping an entry into either of these keys. 'Run' will run a > command every time the user logs in, while 'RunOnce' will run the > command once then delete it. > > ~Greg > > Hi Greg, Well, if i remember right last time i changed the settings via registry i think the icon pos's changed but then a reboot causes them to go back to original. Im not sure how well it would work to keep reloading them every time i boot up...although it might work so i guess it's worth a try. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"
6. Re: Desktop icon location - Registry
- Posted by Lucius L. Hilley III <Euphoria at unkmar.com> Sep 09, 2005
- 537 views
Al Getz wrote: > > Greg Haberek wrote: > > > > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run > > HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce > > > > Try popping an entry into either of these keys. 'Run' will run a > > command every time the user logs in, while 'RunOnce' will run the > > command once then delete it. > > > > ~Greg > > > > Hi Greg, > > > Well, if i remember right last time i changed the settings via > registry i think the icon pos's changed but then a reboot causes > them to go back to original. > Im not sure how well it would work to keep reloading them every > time i boot up...although it might work so i guess it's worth a > try. > > Take care, > Al > > And, good luck with your Euphoria programming! On that note. Have you tried refreshing the screen after icons had changed position? If so, do they pop back to original. OR Does the changed position become stored even after reboot? Lucius L. Hilley III - Unkmar