https://github.com/dahlitzflorian/bat-windows-open
Batch-file to use and customize "open"-command
https://github.com/dahlitzflorian/bat-windows-open
Last synced: 2 months ago
JSON representation
Batch-file to use and customize "open"-command
- Host: GitHub
- URL: https://github.com/dahlitzflorian/bat-windows-open
- Owner: DahlitzFlorian
- License: mit
- Created: 2017-12-28T21:41:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-01T10:37:28.000Z (over 7 years ago)
- Last Synced: 2025-01-08T13:28:15.091Z (4 months ago)
- Language: Batchfile
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open-Command for Windows
## Description
This repository contains files to use the `open`-command to start certain programs via the terminal without adding all the applications to the Path-variable.
## Usage
`open key1`
(opens only the program belonging to the key `key1`)
`open key1 key2`
(opens both applications belonging to the keys)You can add as many arguments as you want. The key-path-pairs are stored in the `programs.txt` file and are separated by " - ". Each key-path-pair has to be in it's own row. The paths can contain whitespaces (have a look at the example programs.txt file). Any ASCII-Code can be used as key.
Download the files and add the directory of this files to your Path-variable that the terminal can find the batch-file `open`.
### Show available keys
By using the `-s` flag you can show all available keys. No program will be started. Just use the command `open -s`.