Batch file and prompt
This is what I have, but it does not work:
@echo off
echo y>script.txt
echo.>>script.txt .TXT
type script.txt|start /d"F:\batch" ScreenSaverOff.reg
Here's the contents of the reg file, if it helps:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveActive"="0"
What this batch file does is apply a registry edit (which disables the screensaver). The registry edit is called, but just sits there when it comes to the "do you want to apply this?" prompt.
Is there a way to get the prompts answered automatically? They registry edit itself works, since I can apply it manually.
I greatly appreciate any help.

