Skip to main content

All Questions

1 vote
1 answer
60 views

Create persistant Path that only applies in Command Prompt

In Windows 7, is it possible to set a path that automatically applies to every new Command Prompt (DOS) instance, but nowhere else? Note that the Advanced tab for My Computer properties as well as ...
J. Lewis's user avatar
2 votes
1 answer
2k views

User scope environment variable: PATH append string value to existing value

I want to know, how to to append value to existing PATH variable (user scope): SETX PATH "%PATH%;D:\Myfolder\Test\" The above script takes system path variable data using %PATH% and append my folder ...
Senthil Arumugam's user avatar
1 vote
1 answer
3k views

Why didn't SETX update my PATH when I tried adding VLC? (Windows 7)

I'm attempting to add VLC to the PATH variable on a Windows 7 setup, so that it can be called from cmd using vlc vs "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe". Using set, the PATH can be modified ...
user3.1415927's user avatar
2 votes
2 answers
379 views

Windows 7 cmd paths are different

I am trying to change the System paths on my computer. For some reason when I open cmd via run my paths are correct as expected. However when I Shift+Right Click in a directory + open cmd window ...
Snhp9's user avatar
  • 123
0 votes
0 answers
1k views

When are quotes added to a file or folder path when dragged into a cli?

Like a CLI noob does, I often change directories by using the dragging the target folder into a command prompt to get its path. What's annoying, however, is that the path isn't wrapped in quotes, ...
RedRiderX's user avatar
  • 453
0 votes
1 answer
85 views

Windows 7 path not being set

I've read an followed all stack overflow, super user, etc. instructions multiple times, and my GUI window shows the path to be what I want, i.e., python27. However the cmd prompt shows several lines ...
JCCBama's user avatar
2 votes
1 answer
365 views

Modifying the System Path variable from cmd

I am trying to modify my system Path value. I need this as I am doing an upgrade of the S/W and the users need to have access to the old and new system. I provide them with a toggle button which will ...
Vidya's user avatar
  • 21
2 votes
3 answers
10k views

Strange PATH issue in Windows 7 - goes null after being set

I have some sort of a problem with the PATH system variable. Since I use a lot of cmd apps and scripts I've added a lot to it. But the string's length is not the issue. I've worked around this ...
JasonXA's user avatar
  • 863
0 votes
2 answers
10k views

Command prompt cannot find PATH variable

Sometimes, my command prompt cannot find the PATH variable. I have this occasional problem at work where when I open command-prompt and run commands like ipconfig or subst, I get an error saying ...
davidXYZ's user avatar
  • 223
0 votes
1 answer
5k views

Changing Windows 7 PATH avriable [duplicate]

I saw this question and answer but this is not working for me. I am following Python tutorials. There is a section that requires me to change the path variable. I used the instructions in the command ...
Aseem Bansal's user avatar
5 votes
1 answer
23k views

chkdsk: setting a specific path is not working

I can set the drive (volume), but not directory path or file path. chkdsk (with /h) utility shows that I could set the optional parameter path and filename, but I get the following message instead. &...
Forethinker's user avatar
2 votes
2 answers
5k views

Start program from relative path

In Linux when I have a folder structure like : ~/projects ~/bin I could go to projects and start whatever program is in bin with ../bin/binary_to_launch In Windows when I try the same thing, I get ...
user1190's user avatar
  • 630
11 votes
2 answers
107k views

Where is java jre path specified in Windows 7?

I have java installed including jre 6 and 7 on Windows 7 64-bit. When I type java -version at the command line I get: C:\>java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (...
User's user avatar
  • 3,757
1 vote
1 answer
14k views

Modifying the Path environment variable is not working

I have my PATH variable set on my Windows 7 machine, and everything appears normal when I do echo %Path% The paths look fine and are separated by ";" like normal, however, when I try to run any ...
Morgan Herlocker's user avatar
14 votes
4 answers
2k views

Windows 7 "open command window here" not getting updated path variable

I have just edited my PATH variable, adding one directory at the end. When I run CMD.EXE from the start menu and typed PATH, I could see my new directory. But when I opened a command window by shift-...
Endy Tjahjono's user avatar

15 30 50 per page