add basic design
This commit is contained in:
parent
8320342174
commit
9da06681b2
28
README.md
28
README.md
|
@ -1,3 +1,29 @@
|
||||||
# template-cmd
|
# template-cmd
|
||||||
|
|
||||||
Template repository for projects on batch
|
Template repository for projects on batch
|
||||||
|
|
||||||
|
* [`script.cmd`](https://git.hmp.today/pavel.muhortov/template-batch#script-cmd)
|
||||||
|
|
||||||
|
____
|
||||||
|
## `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
|
||||||
|
.\script.cmd
|
||||||
|
```
|
||||||
|
```shell
|
||||||
|
start "" .\script.cmd qn
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user