{"id":18378091,"url":"https://github.com/mlabbe/batchargs","last_synced_at":"2025-04-11T07:46:36.453Z","repository":{"id":17953361,"uuid":"20938528","full_name":"mlabbe/batchargs","owner":"mlabbe","description":"Use equals signs in batch file arguments.","archived":false,"fork":false,"pushed_at":"2014-06-17T20:37:01.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T22:42:10.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlabbe.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}},"created_at":"2014-06-17T20:30:05.000Z","updated_at":"2019-01-07T13:26:29.000Z","dependencies_parsed_at":"2022-09-01T14:51:07.292Z","dependency_job_id":null,"html_url":"https://github.com/mlabbe/batchargs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabbe%2Fbatchargs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabbe%2Fbatchargs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabbe%2Fbatchargs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlabbe%2Fbatchargs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlabbe","download_url":"https://codeload.github.com/mlabbe/batchargs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248359437,"owners_count":21090526,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-06T00:31:09.679Z","updated_at":"2025-04-11T07:46:36.429Z","avatar_url":"https://github.com/mlabbe.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BatchArgs #\n\nYou cannot use equals '=' in arguments passed to a batch file.  Passing this:\n\n    somebat.bat a=b\n\nIs tantamount to outputting this:\n\n    somebat.bat a b\n\n## Solution ##\n\n`batchargs.bat` works around this by converting double underscores to equals signs.  Copy and paste the code from `batchargs.bat` into your batch file, so that:\n\n    somebat.bat a__b\n\nEquals this:\n\n    somebat.bat a=b\n\n## Usage ##\n\nOnce the loop is finished, the global variable `%args%` is set to the full list of args.\n\nIf there are parameters you do not want to convert, use shift to get rid of them.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabbe%2Fbatchargs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlabbe%2Fbatchargs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlabbe%2Fbatchargs/lists"}