Explorar o código

set: add page

pxgamer %!s(int64=7) %!d(string=hai) anos
pai
achega
c83b07deac
Modificáronse 1 ficheiros con 19 adicións e 0 borrados
  1. 19 0
      pages/windows/set.md

+ 19 - 0
pages/windows/set.md

@@ -0,0 +1,19 @@
+# set
+
+> Display or set environment variables for the current instance of CMD.
+
+- List all current environment variables:
+
+`set`
+
+- Set an environment variable to a specific value:
+
+`set {{name}}={{value}}`
+
+- List environment variables starting with the specified string:
+
+`set {{name}}`
+
+- Prompt the user for a value for the specified variable:
+
+`set /p {{name}}={{prompt_string}}`