Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have problem, I am logged as admin in XP, I have installed cygwin in C:\cygwin, but when I run some program which call bash inside cygwin like I don't have privileges to run, it give me error

CANNOT FIND SPECIFIED FILE

But file is there, I see, I checked 1000 times. How to run like administrator like in Windows 7 ?

(My current user has admin privileges ). Can anybody help please ?

share|improve this question
1  
"CANNOT FIND SPECIFIED FILE ." How about the path settings? –  Aki Jul 1 '11 at 13:27
    
Edit your question to show the exact command you are using, please. Also, @Aki is quite correct, it's likely the file is there but Cygwin can't "find" it because it isn't in the default search path. To help find that out, please edit your question to show the location of "the file". –  CarlF Jul 1 '11 at 15:43

2 Answers 2

If your account is in the Administrators group in XP, you don't need the "Run as Administrator" feature from Windows 7 - everything you do already has administrator privileges behind it; you can't elevate any higher. It's probably not a permissions issue.

share|improve this answer

Right click on the file and select Run As...

You may need to hold shift when right clicking.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.