We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad49fa commit 368a7faCopy full SHA for 368a7fa
cli_changer.bat
@@ -265,8 +265,14 @@ for /L %%a in (1,1,%$lastUsersEnvironmentalPathArrayId%) do (
265
rem Add the selected PHP folder path to the end of the users environmental path string.
266
set $usersEnvironmentalPathString=%$usersEnvironmentalPathString%%$pathToPhpFolders%\!$availablePhpVersionsArray[%$newSelectionId%]!
267
268
-rem Set the users environmental path string.
269
-setx path "%$usersEnvironmentalPathString%" >nul
+rem Check if the change is for an open session only.
+if "%~2" eq "--temp" (
270
+ rem Temporary change the users environmental path string in the open session only.
271
+ set path "%$usersEnvironmentalPathString%" >nul
272
+) else (
273
+ rem Permanently change the users environmental path string.
274
+ setx path "%$usersEnvironmentalPathString%" >nul
275
+)
276
277
278
rem ------------------------------
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments