Advertisement
Najeebsk

ENVIROMENT-VARIABLE.bat.txt

May 10th, 2022
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.44 KB | None | 0 0
  1. Setting the path and variables in Windows Vista and Windows 7
  2.  
  3.     On the desktop, right-click the Computer icon and select Properties. If you
  4.  
  5. don't have a Computer icon on your desktop, click Start, right-click the Computer
  6.  
  7. option in the Start menu, and select Properties.
  8.     Click the Advanced System Settings link in the left column.
  9.     In the System Properties window, click the Advanced tab, then click the
  10.  
  11. Environment Variables button near the bottom of that tab.
  12.     In the Environment Variables window (pictured below), highlight the Path
  13.  
  14. variable in the System variables section and click the Edit button. Add or modify
  15.  
  16. the path lines with the paths you want the computer to access. Each different
  17.  
  18. directory is separated with a semicolon, as shown below.
  19.  
  20. C:\Program Files;C:\Winnt;C:\Winnt\System32
  21.  
  22. Windows environmental path settings
  23.  
  24.     After creating or modifying the environment variables, restart the computer for
  25.  
  26. those changes to take effect in Windows.
  27. -----------------------------------------------------------------------------------------------
  28. @ECHO OFF
  29. TITLE NAJEEB ADD ENVIROMENT VARIABLE
  30. COLOR 1B  & MODE 65,9
  31. ECHO #########################################################
  32. ECHO #######      NAJEEB ADD ENVIROMENT VARIABLE        #######  
  33. ECHO #########################################################  
  34. SET /P ENV = ENTER ADD PATH :
  35. SETX PATH "%ENV%"
  36. PAUSE :
  37. GOTO P
  38. :P
  39. PATH
  40. PAUSE :
  41. EXIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement