Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hollasch/win-scripts

Useful Windows Command Shell Scripts
https://github.com/hollasch/win-scripts

command-line command-line-tool script scripts-collection tools windows

Last synced: 14 days ago
JSON representation

Useful Windows Command Shell Scripts

Awesome Lists containing this project

README

        

Useful Windows Command Shell Scripts
====================================================================================================

This is a collection of Windows command shell (.cmd) scripts that I find useful.

### Scripts
- `admin` -- Execute command as administrator
- `batch-lf-fail` -- Illustrates how cmd files may fail if they have LF line endings
- `clip-edit` -- Invoke %EDITOR% to place content on the clipboard
- `envgui` -- Launch the Windows environment variable GUI
- `get-tempfile` -- Creates a temporary file (or directory) name for command scripts
- `pathlist.py` -- Pretty report of current path list, noting non-existent and duplicate entries
- `pdfcat` -- Concatenates multiple PDF files into one
- `sleep` -- One-liner simple sleep (in seconds)
- `touch` -- Creates/updates the timestamp of a given file
- `upsearch` -- Locate nearest target file upwards from current working directory
- `vmove` -- Batch move/rename utility using the preferred %EDITOR%

### Snippets
- `admin-launch.cmd` -- Demonstrates how to auto-relaunch a script with admin priviledges
- `failexit.cmd` -- How to properly exit a CMD script with a non-zero exit code & ERRORLEVEL

----
Steve Hollasch

[email protected]

https://github.com/hollasch