[ros-diffs] [cfinck] 28044: - Uncomment the previously non-working "SET /P" statements - Get them to work by putting quotation marks around the arguments

cfinck at svn.reactos.org cfinck at svn.reactos.org
Mon Jul 30 17:04:48 CEST 2007


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.cmd?rev=28044&r1=28043&r2=28044&view=diff
==============================================================================
--- 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




More information about the Ros-diffs mailing list