home bbs files messages ]

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

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

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

   Message 41,089 of 42,547   
   foxidrive to catebekensail@yahoo.com   
   Re: dir *.cmd -> file.cmd AND file.cmd~    
   02 Feb 15 07:45:29   
   
   From: foxidrive@server.invalid   
      
   On 2/02/2015 03:10, catebekensail@yahoo.com wrote:   
   > I want to see all the files that end with .cmd   
   >   
   > dir *.cmd   
   >   
   > That also shows files that end file.cmd~   
   >   
   > Is there a way to stop that?   
   >   
      
   use findstr with a regular expression   
      
   dir *.cmd |findstr /i "\.cmd$"   
      
   --- 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