# batch file nerds... need help. I'm a little rusty

**URL:** <https://forums.speedlife.net/t/batch-file-nerds-need-help-im-a-little-rusty/27718>\
**Category:** NYSpeed Off Topic\
**Created:** [April 16, 2007, 12:09pm UTC](https://forums.speedlife.net/t/batch-file-nerds-need-help-im-a-little-rusty/27718 "2007-04-16T12:09:38Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![Dr.Stevil](https://avatars.discourse-cdn.com/v4/letter/d/da6949/32.png) [@Dr.Stevil](https://forums.speedlife.net/u/Dr.Stevil)\
**Post date:** [April 16, 2007, 1:54pm UTC](https://forums.speedlife.net/t/batch-file-nerds-need-help-im-a-little-rusty/27718/20 "2007-04-16T13:54:04Z")

</div>

lol same… used to fuck with the librarians computers in school 😛

> REM CADRA SELECT MENU  
> @echo off
> 
> cls
> 
> ECHO CADRA v10.4.0/CADRA 2006 PLUS SELECT MENU  
> ECHO \*  
> ECHO \*  
> ECHO VERY IMPORTANT, PLEASE DO NOT CLOSE THIS WINDOW AT ANY TIME  
> ECHO \*  
> ECHO \*  
> ECHO \*
> 
> PAUSE  
> cls  
> echo Please Choose An Option  
> echo;  
> echo (1) Run CADRA v.10.0.4  
> echo (2) Run CADRA v2006 PLUS  
> echo;  
> set /p userinp=choose a number(1-2):  
> set userinp=%userinp:~0,1%  
> if “%userinp%”==“2” goto 20  
> if “%userinp%”==“1” goto 10  
> :10  
> ren m:\batch est1.txt test2.txt
> 
> “C:\Program files\UGS\NX 3.0\UGII\ugraf.exe”
> 
> ren m:\batch est2.txt test1.txt
> 
> goto end  
> :20  
> ren m:\batch\alt1.txt alt2.txt
> 
> “C:\Program files\UGS\NX 3.0\UGII\ugraf.exe”
> 
> ren m:\batch\alt2.txt alt1.txt  
> goto end  
> :end
> 
> exit

coming along nicely… supprised that the “choice” command no longer exists though

now that I have the template, just need to apply it to the real world and tweak it

---

_[View the full topic](https://forums.speedlife.net/t/batch-file-nerds-need-help-im-a-little-rusty/27718)._
