Skip to content

Latest commit

 

History

History
15 lines (14 loc) · 993 Bytes

README.md

File metadata and controls

15 lines (14 loc) · 993 Bytes

Index of CMD Scripts

  • admin-launch.cmd -- Check for admin rights and relaunch as admin if necessary
  • array.cmd -- Mocking array variables
  • cmdargs.cmd -- Command argument expansion
  • crlf-vs-lf.cmd -- Demonstrate problems with LF line endings in Windows scripts
  • delayed_expansion.cmd -- Delayed expansion of environment variables
  • echo-args.cmd -- Echo command-line arguments
  • exitcode.cmd -- Demonstrate exit /b from a subroutine
  • failexit.cmd -- Illustration of the challenges of managing CMD script exit codes
  • indirect-goto.cmd -- Jumping to labels programmatically
  • script-utf8-nobom.cmd -- Unicode output
  • sub-setlocal.cmd -- Demonstrates the entirely new execution context of a called subroutine
  • zipdir.cmd -- Creating a zip archive of a directory using PowerShell