Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Setting the path and variables in Windows Vista and Windows 7
- On the desktop, right-click the Computer icon and select Properties. If you
- don't have a Computer icon on your desktop, click Start, right-click the Computer
- option in the Start menu, and select Properties.
- Click the Advanced System Settings link in the left column.
- In the System Properties window, click the Advanced tab, then click the
- Environment Variables button near the bottom of that tab.
- In the Environment Variables window (pictured below), highlight the Path
- variable in the System variables section and click the Edit button. Add or modify
- the path lines with the paths you want the computer to access. Each different
- directory is separated with a semicolon, as shown below.
- C:\Program Files;C:\Winnt;C:\Winnt\System32
- Windows environmental path settings
- After creating or modifying the environment variables, restart the computer for
- those changes to take effect in Windows.
- -----------------------------------------------------------------------------------------------
- @ECHO OFF
- TITLE NAJEEB ADD ENVIROMENT VARIABLE
- COLOR 1B & MODE 65,9
- ECHO #########################################################
- ECHO ####### NAJEEB ADD ENVIROMENT VARIABLE #######
- ECHO #########################################################
- SET /P ENV = ENTER ADD PATH :
- SETX PATH "%ENV%"
- PAUSE :
- GOTO P
- :P
- PATH
- PAUSE :
- EXIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement