- How to set the path and environment variables in Windows
- Setting the path and variables in Windows 10
- Setting the path and variables in Windows 8
- Setting the path and variables in Windows Vista and Windows 7
- Setting the path and variables in Windows 2000 and Windows XP
- What is the default Windows %PATH%?
- Setting path in the MS-DOS and Windows command line
- Как отредактировать PATH в Windows 7, 8 и Windows 10?
- Что такое PATH система Windows?
- Как добавить папку в PATH?
- Path в операционной системе Windows 7 и Windows 8
- Path в операционной системе Windows 10
- how to change username on pc located in c:/users in windows 10 pro?
- Replies (1)
- How to Change User Profile Path in Windows 7
How to set the path and environment variables in Windows
Setting the path and environment variables will differ depending on the version of Windows you have on your computer. Choose a link below for your version of Windows.
Administrator privileges are usually required to modify the path and environment variables.
Setting the path and variables in Windows 10
- From the desktop, right-click the very bottom-left corner of the screen to get the Power User Task Menu.
- From the Power User Task Menu, click System.
- In the Settings window, scroll down to the Related settings section and click the System info link.
- In the System window, click the Advanced system settings link in the left navigation pane.
- In the System Properties window, click the Advanced tab, then click the Environment Variablesbutton 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.
You can edit other environment variables by highlighting the variable in the System variables section and clicking Edit. If you need to create a new environment variable, click New and enter the variable name and variable value.
To view and set the path in the Windows command line, use the path command.
Setting the path and variables in Windows 8
- From the desktop, right-click the very bottom-left corner of the screen to get the Power User Task Menu.
- From the Power User Task Menu, click System.
- Click the Advanced System Settings link in the left column.
- In the System Properties window, click the Advanced tab, then click the Environment Variablesbutton 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.
You can edit other environment variables by highlighting the variable in the System variables section and clicking Edit. If you need to create a new environment variable, click New and enter the variable name and variable value.
To view and set the path in the Windows command line, use the path command.
Setting the path and variables in Windows Vista and Windows 7
- From 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 Variablesbutton 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.
You can edit other environment variables by highlighting the variable in the System variables section and clicking Edit. If you need to create a new environment variable, click New and enter the Variable name and Variable value.
To view and set the path in the Windows command line, use the path command.
Setting the path and variables in Windows 2000 and Windows XP
The path is now managed by Windows 2000 and Windows XP and not the autoexec.bat or autoexec.nt files, as was done with earlier versions of Windows. To change the system environment variables, follow the steps below.
- From the desktop, right-click My Computer and click Properties. If you don’t have a My Computer icon on your desktop, click Start, right-click the My Computer option in the Start menu, and select Properties.
- In the System Propertieswindow, click the Advancedtab.
- In the Advanced section, click the Environment Variablesbutton.
- In the Environment Variables window (as shown below), highlight the Path variable in the System Variable 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.
You can edit other environment variables by highlighting the variable in the System variables section and clicking Edit. If you need to create a new environment variable, click New and enter the Variable name and Variable value.
To view and set the path in the Windows command line, use the path command.
What is the default Windows %PATH%?
The path is based on programs installed on the computer, so there is no «default path.» However, the Windows minimum path is often the path below.
Keep in mind that as you install programs, the path is updated with the paths for the newly installed programs. So, if you have erased your path after installing other programs, those programs may be affected.
Setting path in the MS-DOS and Windows command line
To view and set the path in MS-DOS and in the Windows command line, use the path command.
Как отредактировать PATH в Windows 7, 8 и Windows 10?
Как запустить программу из командной строки не переходя каждый раз в папку с программой?! Как запускать сторонние программы так, как, например, программу IPCONFIG, которая не требует перехода в папку?
Что такое PATH система Windows?
Если вы скачали программу командной строки, например ADB (Android Debuggin Bridge), то вы не сможете запустить ее просто вписав adb в командной строке, как вы всегда поступали с системными командами Windows (IPCONFIG, NETSTAT и т.п.). Вместо этого вы должны будете указать командную строку содержащую полный путь к exe-файлу.
Это достаточно сложно писать в командной строке без ошибок, тем более, если вам приходится делать это достаточно часто.
PATH система Windows сообщает вашей операционной системе каталоги, в которых следует искать исполняемые файлы. Например ранее упоминаемая программа ipconfig.exe расположена в каталоге C:\Windows\System32, который в свою очередь уже добавлен в PATH Windows. При вводе команды ipconfig система обыщет все папки из PATH на наличие файла ipconfig.exe и запустит его выполнение.
Если вы хотите то же удобство с программой (в нашем примере это ADB), то приложение ADB необходимо добавить в PATH Windows и после этого для запуска достаточно будет вписать в командную строку:
Больше ничего впечатывать не придется.
Как добавить папку в PATH?
В Windows 7, 8 и Windows 10 попасть в настройки PATH можно так: Панель управления / Система / Дополнительные переменные среды.
Далее перейти в «Переменные среды».
В окне «Переменные среды» обратите внимание на переменную с именем Path. Выберите ее и нажмите «Изменить..»
Дальнейшие действия одинаковы в Windows 7 и 8, но иные, облегченные, в Windows 10.
Path в операционной системе Windows 7 и Windows 8
В этих системах переменная Path является не более, чем длинной строкой текста с адресами каталогов системы. В этот текст мы добавим каталог и с нашей программой ADB.
Для того, чтобы добавить запись с путем к исполняемому файлу в Windows 7 и 8 к тексту нужно добавить путь, которому предшествует точка с запятой, разделяющая различные записи. Например так:
Добавлять такой путь в текст path нужно только в конец строки.
После ввода нажмите ОК. Все, мы добавили каталог в patch Windows 7 и 8.
Path в операционной системе Windows 10
В операционной системе Windows 10 этот процесс проще и менее запутанный. После нажатия кнопки «Изменить…» откроется новое диалоговое окно с расположенными в отдельных строках путях path.
Это улучшение позволяет проще и нагляднее видеть имеющиеся пути path и облегчает добавить новые пути.
Для добавления нового пути в переменную path Windows 10 нужно нажать «Новый», добавить путь C:\Android\platform-tools и нажать ОК.
Новая запись появится в низу списка.
Теперь запуск Android Debug Bridge доступен из любого раздела командной строкой без ввода полного пути к исполняемому файлу.
how to change username on pc located in c:/users in windows 10 pro?
I have a problem that my name is «Srijan» but in users folder located in local disk c: is showing first five words .
Help me! I want my full name on that folder.
Replies (1)
I would like to ask if you are using Microsoft account or Local account.
I suggest you to follow the methods below and check if it helps.
Method 1: Please follow the steps to rename the user account.
- In the search box, type user accounts and click on User Accounts.
- Click on “Change your account name”
- If it’s prompting for password please enter and click on Yes. If you do not have password click on Yes.
- Enter the new user name.
- Click on change name.
Method 2:
Note: Before you start, please back up all you data and create a system restore point first.
- Press Windows Key + R combination and then type netplwiz in the Run dialog box. Click OK. If prompted for UAC, click Yes.
- Now in the User Accounts window, check Users must enter a user name and password to enter this computer, if it is unchecked.
- In the User Name section, select the user name to which you want to change the name and click Properties.
- In the Properties window, in the User name field, provide the desired user name. Then click Apply followed by OK.
- Reboot to see the change.
Change User Folder name: Even after you change the username using this method, your personal folder will continue to display the old username. To rename the user folder, do the following.
- Create a system restore point first. Then open Registry Editor and navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
2. You will find several folders here like S-1-5-. Search through them till you find a ProfileImagePath pointing to your old username. Double-click on it and replace your old username with your new username.
3. Restart your computer to see the change.
Disclaimer:
Important: The System Restore restores the computer back to an earlier point in time, called a restore point. System Restore doesn’t change your personal files, but it might remove recently installed apps and drivers and also reset the recently changed settings on the computer.
Registry disclaimer: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: 322756 ( http://support.microsoft.com/kb/322756/ )
How to back up and restore the registry in Windows
Write us back with status of the issue in regards with your account. Your reply is important to assist you further.
How to Change User Profile Path in Windows 7
How to Change User Profile Path in Windows 7
CHUONG K. NGUYEN – BSc., MCSEx2, MCSAx2, MCP, MCTS, MCITP, CCNA
In this guide I will show you how to perform Profile Redirection in Windows 7. We will set up a different partition for user profiles, make changes to the system registry and verify that new users will have their profile directory changed to the new path. For existing users (users who had already logged into the system before and had their profile path stored at the default location in C:\Users), we will perform another minor change in the registry and manually copy their profile folder from C:\Users to the new path.
I start with a clean installed Windows 7 Ultimate with a user account called User. This account is created when I first installed Windows 7. to you that is the case, open the Control Panel, click User Accounts and it will list the user accounts you currently have.
To show you what the account I am currently logged in as, click the Start menu. Note that the acount I am logged in as is User. That is the only account I have on this computer.
To show you the location of the user profile, click Start, type CMD in the search box to launch the Command Prompt. Type SET at the command prompt.
Here is the contents of C:\Users.
And here is the contents of C:\Users\User.
I am going to create a nother user called User2 and I will show you the profile location for that user. Open the Control Panel and click Users. Click Create a new account.
Enter the user name and click Create Account.
After the user has been created, click on the account and create a password for that user.
Enter the password and click Create password.
Let’s log in as User2.
Wait for the desktop to be prepared.
Let’s see the profile path for this user. Launch the Command Prompt and type SET. Clearly, the path is under C:\Users\User2.
Here is the contents of C:\Users.
And the contents of C:\Users\User2.
So it seems that by default, any user you log in has the profile stored in C:\Users. You wonder what regulates this and is there a way to change that to a different location, perhaps, to a networked location for instance. The answer is the registry.
Launch Regedit.exe and browse to the following key highlighted in red. You will see that the ProfilesDirectory is currently %SystemDrive%\Users.
Let’s change that path to another drive, for example E:\Users. Note that on the computer, I have this path existed.
In this registry, browse to the key indicated above, double-click on ProfilesDirectory.
Type in E:\Users and click OK.
Note the new updated key value.
From this point on, any NEW user logged into this computer will have the profile stored in E:\Users. Only User and User2 have their profiles stored in C:\Users. This is because they have already logged into this computer before.
Let’s create User3 and log in to find out.
Fill in the user name and click Create Account.
Click User3 to create a password for it.
Click Create a password.
Enter the password and click Create password.
Log in as User3.
Open the Command Prompt and type SET. Clearly, the profile is stored in E:\Users\User3.
Test the following three items:
a/ Create a new folder TEST on the desktop
b/ Change the desktop background
c/ Open Notepad and resize the application Windows.
The above three things have been performed as showned below.
Restart the computer and log back in as User3. The above three items should be remembered. They are stored in E:\Users\User3.
Reopen Notepad to make sure that the application size is exactly as when we left it last time.
The folder TEST on the desktop is stored at E:\Users\User3\Desktop as expected.
Now, let’s log in as User2. We will see that the Profile is still in C:\Users\User2.
Launch the Command Prompt and type SET. Verify the profile path.
And of course, in E:\Users, there is only one folder called User3 because User2 is still under C:\
Verify profile path for User2 is still under C:\Users\User2.
In order for User and User2 to have profiles pointed to the new location (E:\Users), we need to move the actual profile folders from C:\Users to E:\Users. Let’s do that. First, create a new temporary user called Mover. Then restart the computer, log in as Mover, then we will be able to copy C:\Users\User and C:\Users\User2 to E:\Users. (Note that I could do this with User3 instead of create a new user called Mover but I like creating new users ;)).
Create a password for the user Mover.
Restart the computer.
Log in as Mover.
Select both User and User2 to copy.
Paste them in E:\Users.
Even at this point, when you log in as User and User2, the profile is still in C:\Users. There is something in the registry that we need to change for the profile path to be switched to E:\Users.
Open the Registry and browse to the Key highlighted below.
Change the ProfileImagePath for User from C:\Users\User to E:\Users\User.
Change the ProfileImagePath for User from C:\Users\User2 to E:\Users\User2.
Restart the computer. Now test by logging in as User, creating a new folder on the desktop. Then check to ensure that that newly created folder is stored in E: drive.
Create a new folder called TESTUSER on the desktop.
Launch the command prompt and type SET. Verify that the profile is in E:\Users.
Also verify that the newly created folder is stored in the right location.
Now it is safe to delete C:\Users\User and C:\Users\User2 as well as the Mover account.