Rename list of files in Dos script
Closed
                    
        
                    munstermum
    
        
                    Posts
            
                
            1
                
                            Registration date
            Wednesday May 19, 2010
                            Status
            Member
                            Last seen
            May 19, 2010
            
                -
                            May 19, 2010 at 11:29 AM
                        
infomik mdr - Jun 9, 2011 at 05:02 AM
        infomik mdr - Jun 9, 2011 at 05:02 AM
        Related:         
- Rename list of files in Dos script
- Rename lg tv - Guide
- Dos list files - Guide
- Rename computer cmd - Guide
- Counter strike 1.6 cheats list - Guide
- Amd crossfire gpu list - Guide
2 responses
                
        
                    rizvisa1
    
        
                    Posts
            
                
            4478
                
                            Registration date
            Thursday January 28, 2010
                            Status
            Contributor
                            Last seen
            May  5, 2022
            
            
                    766
    
    
                    
May 19, 2010 at 04:43 PM
    May 19, 2010 at 04:43 PM
                        
                    Does it has to be DOS. VBS would be far easier and more powerful
                
                
            
                        
                    i think it's because of space in the name of files you can inspire from this 
Dir /A-D /B *.pdf > files.txt
for /f "usebackq delims==" %%a in (files.txt) do ( rar a -m5 -p1234 "%%a.rar" "%%a")
pause
i use it to compress files in a folder files.txt contains the name of files to compress each line is a name for one file, so the script proceed line by line
hope that can help you.
            Dir /A-D /B *.pdf > files.txt
for /f "usebackq delims==" %%a in (files.txt) do ( rar a -m5 -p1234 "%%a.rar" "%%a")
pause
i use it to compress files in a folder files.txt contains the name of files to compress each line is a name for one file, so the script proceed line by line
hope that can help you.
