Author: cfinck
Date: Mon Jul 30 19:04:48 2007
New Revision: 28044
URL:
http://svn.reactos.org/svn/reactos?rev=28044&view=rev
Log:
- Uncomment the previously non-working "SET /P" statements
- Get them to work by putting quotation marks around the arguments
Modified:
trunk/tools/RosBE-Windows/Root/Config.cmd
Modified: trunk/tools/RosBE-Windows/Root/Config.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Config.cm…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Config.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Config.cmd Mon Jul 30 19:04:48 2007
@@ -16,10 +16,10 @@
if "%1" == "delete" (
echo config.rbuild will be permanently deleted. All your settings will be gone.
echo Continue?
-:: SET /P XY=(yes), (no)
-:: if /I "%XY%"=="yes" goto :CONT
-:: if /I "%XY%"=="no" goto :NOK
-:: goto :NOK
+ SET /P XY="(yes), (no)"
+ if /I "%XY%"=="yes" goto :CONT
+ if /I "%XY%"=="no" goto :NOK
+ goto :NOK
:CONT
if exist "config.rbuild" (
@@ -40,9 +40,9 @@
echo old config.rbuild will be deleted and will be updated with a recent,
echo default one. You will need to reconfigure it to your wishes later.
echo Continue?
-:: SET /P XY=(yes), (no)
-:: if /I "%XY%"=="yes" goto :CONT2
-:: if /I "%XY%"=="no" goto :NOK
+ SET /P XY="(yes), (no)"
+ if /I "%XY%"=="yes" goto :CONT2
+ if /I "%XY%"=="no" goto :NOK
:CONT2
del "%ROSBEBASEDIR%\*.rbuild"
del "config.rbuild"
@@ -71,7 +71,7 @@
echo.
echo DID YOU UNDERSTAND?
-SET /P XY=(yes), (no)
+SET /P XY="(yes), (no)"
if /I "%XY%"=="yes" goto :OK
if /I "%XY%"=="no" goto :NOK