home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,222 of 68,980   
   conneljl@bc.edu to All   
   Find a file name based on a variable   
   17 May 18 07:39:17   
   
   Is there a way (and what does it look like) to find a file in a specified   
   folder that contains a variable the user enters?   
      
   something along the lines of   
      
   set /p V1=Please enter the unit number you want to find the file for as a two   
   digit number (02, 23, etc)   
   echo   
   echo   
   if not exist "%V1%*" echo No Order File Found!!!!   
   @timeout /t 2 /nobreak >nul   
   if not exist "%V1%*" goto END   
   Schtaskst /Run blah blah blah   
   :END   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca