What is the best/easiest way to add a directory to 'Path' when starting a CMD (MS-DOS) window? It used to be possible to do this with an AUTOEXEC.BAT file in XP.

kitti_1 commented: thanks u +0
  1. Open an Explorer window
  2. Right click on This PC and select Properties from the pop-up menu
  3. In the Control Panel window click on Advanced system settings
  4. Click on Environment Variables

At this point you have to decide if you want the change to apply to just the current user, or for all users. You will click on Path in either the upper list (current user) of the lower list (all users).

  1. Click on the appropriate Edit... button.
  2. In the Edit environment variable window click New
  3. Enter the desired path info into the edit box
  4. Click OK
  5. Click OK
  6. Click OK
commented: OK. OK. OK. Don't take this wrong, that's how it's done. (Are your sure? OK!) +0

Thank you!
Chuck

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.