{"id":24107627,"url":"https://github.com/bclehmann/batch-shortcuts","last_synced_at":"2026-03-05T11:01:52.893Z","repository":{"id":157579759,"uuid":"204223230","full_name":"bclehmann/Batch-Shortcuts","owner":"bclehmann","description":"A couple batch files to make stuff easier, and a little trolling","archived":false,"fork":false,"pushed_at":"2022-01-30T01:29:34.000Z","size":153,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T09:19:58.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bclehmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-24T23:22:07.000Z","updated_at":"2022-01-30T01:29:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcc44460-96c6-4c98-8df6-aa0e33f0aae8","html_url":"https://github.com/bclehmann/Batch-Shortcuts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bclehmann/Batch-Shortcuts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclehmann%2FBatch-Shortcuts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclehmann%2FBatch-Shortcuts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclehmann%2FBatch-Shortcuts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclehmann%2FBatch-Shortcuts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bclehmann","download_url":"https://codeload.github.com/bclehmann/Batch-Shortcuts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bclehmann%2FBatch-Shortcuts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30121059,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T10:44:24.758Z","status":"ssl_error","status_checked_at":"2026-03-05T10:44:15.079Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-10T22:39:50.942Z","updated_at":"2026-03-05T11:01:52.872Z","avatar_url":"https://github.com/bclehmann.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Batch-BS\n A couple batch files to make stuff easier, and a little trolling\n\n\nAdd this folder to your path for the following functionality.\n\n \n## Admin CLI Command\nType `admincmd` or `adminps` in your CLI of choice to open an elevated prompt of either cmd or Powershell. Feel free to add your own shell of your choosing.\n\n## Drip git Logs\n\nType `lg`, it will open it up in a new CMD window. You can also type `lg -d \u003cgit repo path\u003e`\n\n\n## Vi(m) and Nano Commands\n\nType `vi \u003cfilename\u003e` or `vim \u003cfilename\u003e`to open vim. Nano works the exact same, just type `nano \u003cfilename\u003e`. Keep in mind, you will need vim and nano installed, as well as bash. Last I knew, they came preinstalled with GitHub desktop, if not, you can probably figure that out.\n\n\n## exp\n\nType `exp` and give it something in stdin, and it will open Windows File explorer to that directory. Most common use is probably this:\n\n    pwd | exp\n\nI am aware everything else on this list uses command line arguments, but seeing as the built in `explorer` command can already do that, I didn't see the point of making an alias. If you already know the path, sure, do `explorer C:\\` instead of `echo C:\\ | exp` because that's just pointless.\n\n## passwordgen\n\nType `passwordgen` and get a password. If you don't want a 32 character password, type `passwordgen length=100` for a 100 character password, or any number you like. The default charset is this:\n\n    abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^*`~,.-/\n    \nThis was chosen to avoid issues, i.e. quotes and semicolons can be bad for connection strings, but I understand it may not be optimal for everything. Feel free to adjust the charset if you need. This uses .NET Core for its cryptographically secure randomness, specifically `RNGCryptoServiceProvider.GetBytes(byte[] bytes)` Please feel free to adjust this as well. This does mean you need the .NET core runtime, but I don't think that's a big ask.\n\nIf you want a different charset, just specify in the command line arguments. `passwordgen alpanumeric` will use `[a-zA-Z0-9]`, and you can also specify your own with `passwordgen charset=🔥💯👈👉🖖🤘🕶💦♠♥♦♣🃏✏🍆🌮` or any other symbols. If you use emojis or any non-ASCII symbol, you could have fun getting it to work with your shell.\n\n\n## Trolling Stuff\nAdmittedly, there ain't as much as I might like here, but you can type `h4x` to get a matrix sorta thing going on. The only difference between this command and `matrix`, is that `h4x` opens a new window.\n\n## Installation\n\n 1. Add the folder that you cloned this git repo to your path [Simple Tutorial](https://www.itprotoday.com/cloud-computing/how-can-i-add-new-folder-my-system-path)\n 2. Install bash, vim, and nano (Optional, only if you want these editors to work)\n     \n     a. Bash must be in your path\n\t \n\t b. vim and nano are almost certainly preinstalled with bash, if not, add them to the directory where `$SHELL` is contained (normally `/usr/bin`)\n\t \n\t c. If you installed github desktop, these are normally installed for you already\n 3. Install .NET Core runtime (Optional, only if you want passwordgen to work)\n \n     a. This is probably installed already\n     \n---\n![Logo](/images/logo_full.png)\n\n# Made by Where 1\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbclehmann%2Fbatch-shortcuts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbclehmann%2Fbatch-shortcuts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbclehmann%2Fbatch-shortcuts/lists"}