Top 10 DOS Batch tips (Yes, DOS Batch…)
- Use PUSHD / POPD to change directories
- Call FTP scripts
- Read from the registry
- Run SQL Commands
- Check if a file or folder exists
- Pause execution for a number of seconds
- Use defaults for optional parameters
- Process each file matching a pattern in a directory
- Use batch parameter expansion to avoid parsing file or directory info
More:
- Batch files. for DOS, OS/2, Windows 95/98, NT 4, 2000 and XP
- How can be checked the size of a file in a Windows batch script?