{"id":28961838,"url":"https://github.com/kkmzero/mkfile","last_synced_at":"2025-10-11T07:39:44.237Z","repository":{"id":300225875,"uuid":"1005590542","full_name":"kkmzero/mkfile","owner":"kkmzero","description":"Batch script for creating new files from template","archived":false,"fork":false,"pushed_at":"2025-06-20T13:36:34.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-20T14:35:20.240Z","etag":null,"topics":["batch","script","template","windows"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","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/kkmzero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2025-06-20T13:25:44.000Z","updated_at":"2025-06-20T13:48:46.000Z","dependencies_parsed_at":"2025-06-20T14:46:39.281Z","dependency_job_id":null,"html_url":"https://github.com/kkmzero/mkfile","commit_stats":null,"previous_names":["kkmzero/mkfile"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kkmzero/mkfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkmzero%2Fmkfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkmzero%2Fmkfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkmzero%2Fmkfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkmzero%2Fmkfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kkmzero","download_url":"https://codeload.github.com/kkmzero/mkfile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kkmzero%2Fmkfile/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006626,"owners_count":26084131,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["batch","script","template","windows"],"created_at":"2025-06-24T02:05:36.272Z","updated_at":"2025-10-11T07:39:44.196Z","avatar_url":"https://github.com/kkmzero.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mkfile\r\n\r\nMkfile is simple batch script for creating new files from template with additional option for creating empty files. Mkfile supports all versions of Windows NT operating system with command interpreter cmd.exe.\r\n\r\n## Installation and Setup\r\n\r\nCopy mkfile folder anywhere you want and optionally add it to your PATH environment variable:\r\n```bat\r\nset path=D:\\path\\to\\mkfile;%path%\r\n```\r\n\r\nYou can set variable ```template_path``` in mkfile.bat to point to your own template file. If you have template file in the same folder as mkfile.bat then you can use ```%~dp0``` variable which will expand to drive letter and path of the script file:\r\n```bat\r\nset template_path=\"%~dp0my_template_file.txt\"\r\n```\r\n\r\n... or you can simply modify/replace existing template file (template.txt) in the mkfile folder.\r\n\r\n## Usage\r\n\r\nYou should be able to create files from template file with simple command:\r\n```bat\r\nmkfile myfile.cpp\r\n```\r\n\r\nYou can use option /E to create an empty file:\r\n```bat\r\nmkfile myfile.cpp /E\r\n```\r\n\r\nBrief usage can be displayed either by not providing any options or by using /? option:\r\n```bat\r\nmkfile\r\nmkfile /?\r\nmkfile myfile.cpp /?\r\n```\r\n\r\n## License\r\n\r\nCopyright (c) 2025 Ivan Kmeťo.\r\n\r\nLicensed under the [MIT](LICENSE.txt) license.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkmzero%2Fmkfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkkmzero%2Fmkfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkkmzero%2Fmkfile/lists"}