home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 40,804 of 42,547   
   Tim Meddick to JohnW-Mpls   
   Re: Display change   
   29 Nov 13 11:21:11   
   
   From: timmeddick@o2.co.uk   
      
   Yes, there is:  I'm not sure if you're using WinXp [Home] or [Pro] - or if   
   [Home] has the command-line utility: [reg.exe] - but, in either case, my   
   second batch file example will work anyway, with the addition of a reg-file   
   [*.reg]   
      
      
   1).   
      
   @echo off   
   reg ADD "HKCU\Control Panel\Desktop" /v SCRNSAVE.EXE /d   
   "drive:\path\mysaver.scr" /f   
   reg ADD "HKCU\Control Panel\Desktop" /v ScreenSaveActive /d 1 /f   
      
   2).   
      
   @echo off   
   regedit.exe /s drive:\path\myregfile.reg   
      
      
    ....for the second example, you need a registry file [myregfile.reg] as   
   below;   
      
      
   Windows Registry Editor Version 5.00   
      
   [HKEY_CURRENT_USER\Control Panel\Desktop]   
   "ScreenSaveActive"="0"   
   "SCRNSAVE.EXE"="C:\\WINDOWS\\system32\\SSTARS2.SCR"   
      
      
   If you have any queries about the solution[s] I've given, please post back,   
   and I'll try my best to talk you through them.....   
      
   ==   
      
   Cheers,    Tim Meddick,    Peckham, London.    :-)   
      
      
      
      
   "JohnW-Mpls"  wrote in message   
   news:tqkf99563qkpabt00tqcvups5moge6h8jr@4ax.com...   
   >   
   > Using a batch file in Win XP, is there a way to change the choice of   
   > screen   
   > savers in the Control Panel's "Display"?   
   >   
   >   
   > --   
   > JohnW-MN   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca