About 2,590,000 results
Open links in new tab
  1. What's different between "$myvariable =" and Set-Variable in …

    Mar 16, 2019 · Set-Variable -Name myvariable2 -Value (0x5555) This ensures that the value is a regular, non- [psobject] -wrapped [int] (System.Int32) instance, which PowerShell's output …

  2. What is the difference between SETX and SET in environment …

    May 19, 2015 · What is the difference between SETX and SET? As per my understanding: Both are used to set environment variables SETX is for user variables. SET is for shell variables.

  3. How do I set an environment variable in PowerShell if it doesn't …

    Aug 13, 2016 · I'm surprised that I didn't get the answer for this common scenario after searching the internet for a while. How can I set an environment variable in PowerShell if it does not …

  4. continuous integration - How to set and read user environment …

    per the devops hint: To use a variable in a script, use environment variable syntax. Replace . and space with _, capitalize the letters, and then use your platform's syntax for referencing an …

  5. Set the value of a variable with the result of a command in a …

    And adds set/p in order to start the reading the file with set /p technique .The second macro finishes the set /p reading with <# and then deletes the file. The text between two macros is …

  6. bash - How can I set an environment variable for everyone under …

    Oct 29, 2009 · How can I set an environment variable for everyone under my Linux system? Asked 16 years, 2 months ago Modified 1 year ago Viewed 392k times

  7. Set variable from another variable in Jinja - Stack Overflow

    I would like to know how can I set a variable with another variable in Jinja. I have got a submenu and I would like to show which link is active. I tried this: {% set active_link = {{recordtype}} -...

  8. Set a persistent environment variable from cmd.exe

    May 5, 2011 · 181 I have to set environment variables on different windows machines, but I don't want to be bothered changing them manually by getting on the properties screen of "My …

  9. Defining and using a variable in batch file - Stack Overflow

    The spaces are significant. You created a variable named 'location ' with a value of ' "bob"'. Note - enclosing single quotes were added to show location of space. If you want quotes in your …

  10. How to set variable from a SQL query? - Stack Overflow

    1 My use case was that I wanted to set a variable to a string. All the other answers here show how to set a variable using the output of a SELECT statement. Here's how to do it with a simple string: