hey ,
I have just started learning the language C with the help of C for dummies . M trying to make gcc work in windows , the following are the steps I have followed in command prompt & the problems m facing :-
in c:\windows i type "copy con gcc.bat" (wtq)
then i type :- @c:\Dev-Cpp\bin\gcc %1 %2 %3 %4 %5 %6
the error message it gives is access is denied , <0> files copied .
my os is windows 7 starter
pls help !
thnx
4 replies to this topic
#1
Posted 02 November 2010 - 04:27 AM
|
|
|
#2
Posted 02 November 2010 - 06:44 PM
What are the permissions on that folder? Also, if you installed gcc as part of Dev-CPP, you should really download the latest version of MinGW, and update the path environment variable so you aren't running a bat file (you'll later have far more than 6 parameters to pass).
#3
Posted 05 November 2010 - 06:26 AM
hey thr folder permission is read only , thats the problem when i try changing it , it doesnt let me ... any solutions ? .. will try using MinGW as you have suggested
thnx
thnx
#4
Posted 06 November 2010 - 03:58 AM
That's because you don't have permissions to create a file in C:\Windows. What you should be doing is updating your path environment variable.
Django/Python on Windows — Setting PATH Environment Variable « Useful Stuff.
Django/Python on Windows — Setting PATH Environment Variable « Useful Stuff.
#5
Posted 06 November 2010 - 10:14 PM
hey thnx , it worked !
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









