Skip to main content
Code Review

Return to Question

replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
Source Link

Previously in the Settings JAVA_HOME with batch Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME env variable. Since then, I have been trying to use more and more PowerShell so I recreated the script with PowerShell.

Previously in the Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME env variable. Since then, I have been trying to use more and more PowerShell so I recreated the script with PowerShell.

Previously in the Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME env variable. Since then, I have been trying to use more and more PowerShell so I recreated the script with PowerShell.

Notice removed Reward existing answer by Marc-Andre
Bounty Ended with Matt's answer chosen by Marc-Andre
Notice added Reward existing answer by Marc-Andre
Bounty Started worth 100 reputation by Marc-Andre
Fixed grammar
Source Link
mdfst13
  • 22.4k
  • 6
  • 34
  • 70

The script has several options that providesprovide different functionalities:

The script has several options that provides different functionalities:

The script has several options that provide different functionalities:

Previously in the Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME env variable. Since then, I'mI have been trying to use more and more PowerShell so I recreated the script with PowerShell.

The script has several optionoptions that each doesprovides different things functionalities:

  • e or echo : output the current value of JAVA_HOME.
  • s or set : option to change the current value of JAVA_HOME, you. You must provide the key you want to change to.
  • a or add : add a key value pair to the store file that you can later on changed to.
  • l or list : list the current value in the file.
  • r or remove : remove the key-value pair from the store file.

Previously in Settings JAVA_HOME with batch I had created a script in bash to change my JAVA_HOME env variable. Since then, I'm trying to use more and more PowerShell so I recreated the script with PowerShell.

The script has several option that each does different things :

  • e or echo : output the current value of JAVA_HOME.
  • s or set : option to change the current value of JAVA_HOME, you must provide the key you want to change to.
  • a or add : add a key value pair to the store file that you can later on changed to.
  • l or list : list the current value in the file.
  • r or remove : remove the key-value pair from the store file.

Previously in the Settings JAVA_HOME with batch post, I had created a script in bash to change my JAVA_HOME env variable. Since then, I have been trying to use more and more PowerShell so I recreated the script with PowerShell.

The script has several options that provides different functionalities:

  • e or echo : output the current value of JAVA_HOME.
  • s or set : option to change the current value of JAVA_HOME. You must provide the key you want to change to.
  • a or add : add a key value pair to the store file that you can later on changed to.
  • l or list : list the current value in the file.
  • r or remove : remove the key-value pair from the store file.
tried a syntax highlighter that kinda works
Source Link
Marc-Andre
  • 6.8k
  • 5
  • 39
  • 65
Loading
Tweeted twitter.com/StackCodeReview/status/819580004224876544
added 2 characters in body; edited tags
Source Link
Heslacher
  • 50.9k
  • 5
  • 83
  • 177
Loading
Source Link
Marc-Andre
  • 6.8k
  • 5
  • 39
  • 65
Loading
default

AltStyle によって変換されたページ (->オリジナル) /