Tech Support banner

Status
Not open for further replies.
1 - 6 of 6 Posts

·
Registered
Joined
·
56 Posts
Discussion Starter #1
I am trying to get cygwin to work in command prompt on Vista. Specifically I want gnu for program compilation. I place this into my path in my system variables "C:\cygwin\bin". This works for XP, but maybe I'm just missing something. I have installed cygwin and no visible problems occurred during install. The main problem is that if I try to use the g++ or gcc commands in command prompt, it says "'g++' is not recognized as an internal or external command, operable program or batch file". I have also created a PATH in my user variables with the "C:\cygwin\bin", but it still does not work.
 

·
Administrator, Manager, Microsoft Support, Acting
Joined
·
34,376 Posts
Re: Cygwin in command prompt.

Hi -

Are you executing the program from an elevated admin cmd/DOS prompt?

Since using a directory created in the c: root, file permission settings may be interfering. I'd like to see the SET command output and 2 directory listings. Please run the following from an elevated admin cmd/ DOS screen -
START | type cmd.exe | right-click on cmd.exe above under programs - select run as admin. Then paste each line 1 at a time into DOS screen - hit enter if necessary -
SET > "%temp%\1.txt" & dir c:\cyg /a /r /q /s >> "%temp%\1.txt" & dir c:\*.* /a /r /q >> "%temp%\1.txt" & start notepad "%temp%\1.txt"

A notepad will open with results. Save text file & attach to next post.

Regards. . .

jcgriff2

.


dir c:\ /a /r /q
 

·
Registered
Joined
·
56 Posts
Discussion Starter #3
Re: Cygwin in command prompt.

I have not been, it could be the problem. Here is what the command you gave me outputted.
 

Attachments

·
Administrator, Manager, Microsoft Support, Acting
Joined
·
34,376 Posts
Re: Cygwin in command prompt.

Hi -

1 more command, please - I spelled the directory name wrong - apologies.

START | type cmd.exe | right-click on cmd.exe above under programs - select run as admin. Then paste into DOS screen - hit enter if necessary -
SET > "%temp%\1.txt" & dir c:\cygwin /a /r /q /s >> "%temp%\1.txt" & dir c:\*.* /a /r /q >> "%temp%\1.txt" & start notepad "%temp%\1.txt"

Zip & Upload/attach.

Thanks. . . JC

.
 

·
Registered
Joined
·
56 Posts
Discussion Starter #5
Re: Cygwin in command prompt.

So I fixed my problem, I just installed Cygwin from an iso instead of off the internet, so now it seems to be working fine. I do have another issue, but I think I should post it in a new thread.

Anyways what is going on is that I want to watch movies from my computer through my Xbox 360. I have been able to do this until recently. Now when I try to access data from my computer through my 360 my windows media sharing program fails ( this is from the computer side of things not the xbox, or at least visually). a pop up window comes up and says that it has failed and nothing else. Tell me if I should post this in a new thread please.
 

·
Registered
Joined
·
56 Posts
Discussion Starter #6
For future reference to people installing cygwin onto vista or higher windows OS's (ie windows 7... I'm only assuming this issue could occur). Just keep clicking okay on the error messages or program is not responding messages. Sooner or later the install will finish and usually cygwin will work without any problems. If it does not work try re-installing it. If it still does not work, then re-download it from the cygwin site or another mirror.
Hope this helps with anyone who checks out this thread.
 
1 - 6 of 6 Posts
Status
Not open for further replies.
Top