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 68,041 of 68,980   
   mokomoji to All   
   Re: Problems Listing Certain Filetypes W   
   24 Apr 23 08:33:00   
   
   From: mokomoji@naver.com   
      
   2023년 3월 22일 수요일 오전 4시 8분 46초 UTC+9에 Accu Backup님이   
   작성한 내용:   
   > I'm trying to output a list of all .txt and .csv files located within a   
   certain directory and all its subdirectories. On Windows Server 2019, I'm   
   running...    
   >    
   > C:\>dir "e:\shareddata\folder1\folder2" \*.txt \*.csv \s \b >    
   c:\users\username\desktop\output.txt"    
   >    
   > or similar variants and getting mixed results. When I have the \s included,   
   I am getting ALL files... not just the ones I want. I also got only the wanted   
   files but on the entire drive... not just from the folder I need. What am I   
   missing here? My goal    
   is to review the list of files and then use a similar batch to delete them if   
   there is nothing I need to keep. Thanks.   
      
      
   same question as you   
   https://kin.naver.com/qna/detail.naver?d1id=1&dirId=10206&docId=   
   43061337&page=1#answer1   
      
   --- 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