PDA

View Full Version : msconfig



Miphnik
04-04-2001, 11:12 PM
I'm giving scripting a try and figured out how to bring up the System Configuration Utility window.
What I want to do is bring it up, open the Startup tab and then unselect predefined files. Is this possible and if so any info on where to look for the information would be greatly appreciated.

RWSchlatter
04-08-2001, 09:36 PM
scripting is not really intended to interact with a GUI, but check on the SendKeys method in your Help file. J believe by sending TAB and SPACE key sequences you should be able to emulate the manual process.
Difficulty: you cannot know for sure what initial state certain fields are in, so especially check boxes will be tricky to toggle to the proper value.

______________
Regards - Richard

tHE DSS
07-08-2001, 03:24 PM
Instead of emulating a a manual process, why not try accessing the folder itself from within the script.

The path to the 'Startup' folder is :

C:\WINDOWS\Start Menu\Programs\StartUp\

You may need to use the :

strStartup = WshShell.SpecialFolders("Startup")

Check the Windows Scripting Host Manual for the
'SpecialFolers' property for more information.