Revision: 43347
          http://brlcad.svn.sourceforge.net/brlcad/?rev=43347&view=rev
Author:   bob1961
Date:     2011-02-15 20:33:53 +0000 (Tue, 15 Feb 2011)

Log Message:
-----------
Tweaks to get the windows batch files working better. That is, they can handle 
filenames with spaces and the windows prompt gets removed from the screen.

Modified Paths:
--------------
    brlcad/trunk/src/archer/archer.bat
    brlcad/trunk/src/mged/mged.bat
    brlcad/trunk/src/tclscripts/rtwizard/rtwizard.bat

Modified: brlcad/trunk/src/archer/archer.bat
===================================================================
--- brlcad/trunk/src/archer/archer.bat  2011-02-15 20:14:36 UTC (rev 43346)
+++ brlcad/trunk/src/archer/archer.bat  2011-02-15 20:33:53 UTC (rev 43347)
@@ -22,8 +22,11 @@
 
 SETLOCAL
 
-"%~dp0\"bwish.exe "%~dp0\"archer %1
+SET BWISH=%~dp0bwish
+SET ARCHER=%~dp0archer
 
+START /B "" "%BWISH%" "%ARCHER%" %1
+
 CLS
 EXIT
 

Modified: brlcad/trunk/src/mged/mged.bat
===================================================================
--- brlcad/trunk/src/mged/mged.bat      2011-02-15 20:14:36 UTC (rev 43346)
+++ brlcad/trunk/src/mged/mged.bat      2011-02-15 20:33:53 UTC (rev 43347)
@@ -22,10 +22,12 @@
 
 SETLOCAL
 
+SET MGED=%~dp0mged
+
 IF "%1"=="-g" (
-    "%~dp0\"mged.exe %2
+    START /B "" "%MGED%" %2
 ) ELSE (
-    "%~dp0\"mged.exe %1
+    START /B "" "%MGED%" %1
 )
 
 CLS

Modified: brlcad/trunk/src/tclscripts/rtwizard/rtwizard.bat
===================================================================
--- brlcad/trunk/src/tclscripts/rtwizard/rtwizard.bat   2011-02-15 20:14:36 UTC 
(rev 43346)
+++ brlcad/trunk/src/tclscripts/rtwizard/rtwizard.bat   2011-02-15 20:33:53 UTC 
(rev 43347)
@@ -22,8 +22,11 @@
 
 SETLOCAL
 
-"%~dp0\"bwish.exe "%~dp0\"rtwizard %1
+SET BWISH=%~dp0bwish
+SET RTWIZARD=%~dp0rtwizard
 
+START /B "" "%BWISH%" "%RTWIZARD%" %1
+
 CLS
 EXIT
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to