1. select menu 'File->Load->DOS command output' 2. input working directory where your directories located 3. in 'DOS command' window enter: 4. click 'OK', all directories will be listed 5. click ctrl-h open 'replace' dialog in 'Replace' page: * set replace unit to 'Line' * set search for pattern to: * set replace with pattern to: 6. click 'Replace', and save the result to a.bat 7. run a.bat, ok! Note: ${line_no} means the line number of each line, started by 1, user can also add other characters here instead of line number. |