From 9da06681b2b4cc4d4735d6e42e6c5d119b280a38 Mon Sep 17 00:00:00 2001 From: "pavel.muhortov" Date: Thu, 5 Jan 2023 19:51:50 +0300 Subject: [PATCH] add basic design --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 89da3db..4e0967a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,29 @@ # template-cmd +Template repository for projects on batch -Template repository for projects on batch \ No newline at end of file +* [`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 +```