Archive

Posts Tagged ‘Batch’

Top 10 DOS Batch tips (Yes, DOS Batch…)

May 22nd, 2017 No comments
  • 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

Link

More:

 

Tags: , ,