Author: dreimer Date: Sun Aug 5 15:54:37 2007 New Revision: 28176
URL: http://svn.reactos.org/svn/reactos?rev=28176&view=rev Log: - Update Help. - Fix one small bug in Scut. (In my eyes this tool is completed now)
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd trunk/tools/RosBE-Windows/Root/scut.cmd
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?r... ============================================================================== --- trunk/tools/RosBE-Windows/Root/Help.cmd (original) +++ trunk/tools/RosBE-Windows/Root/Help.cmd Sun Aug 5 15:54:37 2007 @@ -26,8 +26,8 @@ echo with the appropriate number. echo basedir - Switch back to the ReactOS source directory. echo. - echo scut - Define, Remove and Switch to Shortcutted Source- - echo Directories. + echo scut - Define, Remove, Switch and Default to Shortcutted + echo Source-Directories. echo config [OPTIONS] - Configures the way, ReactOS will be built. echo. echo clean [logs] - Fully clean the ReactOS source directory and/or @@ -112,7 +112,9 @@ ) if "%1" == "scut" ( echo Usage: scut [OPTIONS] - echo Defines, Removes and Switches to Shortcutted Source Directories. + echo Defines, Removes, Switches and Defaults to Shortcutted Source Directories. + echo scut started without a parameter or with the name of a Shortcut as + echo parameter sets this Shortcut active. echo. echo add - Adds a Shortcut. echo (Optional: "Shortcut" "Directory" as second and third parameter)
Modified: trunk/tools/RosBE-Windows/Root/scut.cmd URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/scut.cmd?r... ============================================================================== --- trunk/tools/RosBE-Windows/Root/scut.cmd (original) +++ trunk/tools/RosBE-Windows/Root/scut.cmd Sun Aug 5 15:54:37 2007 @@ -30,14 +30,12 @@ ) goto :END
+:: +:: Load Shortcut from XML and set it active. +:: :DEF echo Choose your Source Folder: SET /P XY= -goto :RUN - -:: -:: Load Shortcut from XML and set it active. -:: :RUN grep name="%XY%" "%ROSBEBASEDIR%\srclist.xml"|cutz dir > "%ROSBEBASEDIR%\aaa.tmp" test -s "%ROSBEBASEDIR%\aaa.tmp" @@ -47,7 +45,7 @@ goto :END ) else ( set /P dir=<"%ROSBEBASEDIR%\aaa.tmp" - cd /D %dir% + call cd /D %dir% del "%ROSBEBASEDIR%\aaa.tmp" goto :END )