Template repository for projects on batch
Go to file Use this template
2023-01-05 19:52:41 +03:00
.gitignore ignore IDE settings 2023-01-05 19:45:02 +03:00
LICENSE Initial commit 2023-01-05 19:43:43 +03:00
README.md add basic design 2023-01-05 19:52:41 +03:00

template-cmd

Template repository for projects on batch


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:

.\script.cmd
start "" .\script.cmd qn