template-cmd/README.md

30 lines
668 B
Markdown
Raw Normal View History

2023-01-05 19:43:43 +03:00
# template-cmd
2023-01-05 19:51:50 +03:00
Template repository for projects on batch
2023-01-05 19:43:43 +03:00
2023-01-05 19:52:41 +03:00
* [`script.cmd`](https://git.hmp.today/pavel.muhortov/template-cmd#script-cmd)
2023-01-05 19:51:50 +03:00
____
## `script.cmd`
**Description:**
> returning current username if privileged rights are exist
> or
> returning error, if privileged rights are not exist
**Dependencies:**
> - Windows (tested version 10.0.19043)
| POSITION | PARAMETERS | DESCRIPTION | DEFAULT |
|-----------|--------------|------------------------|---------------|
| 1 | **[qn]** |execution without pauses| `None` |
Example usage in terminal:
```shell
2023-01-08 16:28:36 +03:00
script.cmd
2023-01-05 19:51:50 +03:00
```
```shell
start "" .\script.cmd qn
```