473,806 Members | 2,594 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating gcc.bat in vista i'm new at this (very)

11 New Member
i'm using c for dummmies which is informative but when trying to create gcc.bat it tells me access denied i've created path i'm the administrator need help please very much appreciated people thnks so much! sorry forgot to mention i'm using vista doh!
Sep 17 '07 #1
13 5864
epots9
1,351 Recognized Expert Top Contributor
vista is special that way, don't double click the bat file. Right click then select Run As Administer, and it'll open.

your probably wondering why? cuz your account is an admin, thats cuz vista doesn't trust you (or wants to make things harder).
Sep 17 '07 #2
billo2310
11 New Member
trying to set up a c compiler and need to create gcc.bat (batch file) but cannot says access denied! please help!!!!
Sep 17 '07 #3
billo2310
11 New Member
C:\Users\billo\ Documents\prog\ c\learn>goodbye
'goodbye' is not recognized as an internal or external command,
operable program or batch file. this is the message i recieve any ideas anyone?
Sep 17 '07 #4
billo2310
11 New Member
think i've lost some of path and can't retrieve reads path as system variable and value reads ;c:\MinGW\bin all within system properties in enviroment variables please help i've always wanted to start programming please help me acheive my dream it means alot!!!!
Sep 17 '07 #5
billo2310
11 New Member
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\billo> goodbye
'goodbye' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\billo> cd goodbye
The system cannot find the path specified.

C:\Users\billo> cd goodbye.c
The system cannot find the path specified.

C:\Users\billo> gcc -v
Reading specs from /mingw/lib/gcc-lib/mingw32/3.2.3/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=
mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable
-languages=c++,f 77,objc --disable-win32-registry --disable-shared --enable-sjlj-
exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)

C:\Users\billo>




hope this helps people please help i'm puling my hair out really want to do this
is any of this right?

many thanks
Sep 17 '07 #6
pbmods
5,821 Recognized Expert Expert
Moving to the Windows forum....
Sep 17 '07 #7
Nepomuk
3,112 Recognized Expert Specialist
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\billo> goodbye
'goodbye' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\billo> cd goodbye
The system cannot find the path specified.

C:\Users\billo> cd goodbye.c
The system cannot find the path specified.

C:\Users\billo> gcc -v
Reading specs from /mingw/lib/gcc-lib/mingw32/3.2.3/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=
mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable
-languages=c++,f 77,objc --disable-win32-registry --disable-shared --enable-sjlj-
exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)

C:\Users\billo>




hope this helps people please help i'm puling my hair out really want to do this
is any of this right?

many thanks
Does
Expand|Select|Wrap|Line Numbers
  1. C:\Users\billo>dir
show the file? You know, cd means "change directory", so it will only work, if "goodbye" is a directory. What you might want to do is ./goodbye if "goodbye" is a c-program (as "goodbye.c" suggests) and you've compiled it.

Greetings,
Nepomuk
Sep 18 '07 #8
billo2310
11 New Member
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\billo> ./goodbye
'.' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\billo>

think i need to create the gcc batch file for compiling but cant and it says access denied 0 new files copied in the cmd

i know i'm a pain in the arse sorry but really want to do this!
Sep 18 '07 #9
billo2310
11 New Member
Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.

C:\Users\billo> ./goodbye
'.' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\billo> goodbye
'goodbye' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\billo> gcc -v
Reading specs from /mingw/lib/gcc-lib/mingw32/3.2.3/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=
mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable
-languages=c++,f 77,objc --disable-win32-registry --disable-shared --enable-sjlj-
exceptions
Thread model: win32
gcc version 3.2.3 (mingw special 20030504-1)

C:\Users\billo> i'm trying to compile but how when it doesn't create the gcc batch file i will not give up this will not defeat me .... i hope ! i've heard vista is a bitch with mingw so also going to try msvc++ will this pose less problems?
Sep 18 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

13
3038
by: Mark Rae | last post by:
Hi, On Friday I attended the Microsoft EVO conference in London where they talked about Vista, Office 2007 and Exchange 2007 and how they all work together beautifully, how they were all "people-ready" etc... I asked a couple of questions about Visual Studio.NET on Vista, especially on 64-bit Vista, and they became *very* nervous... To cut a long story short, Microsoft will not support ANY version of Visual
56
3646
by: Squishy | last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got errors stating that VS2005 was not compatible with Vista. Microsoft......please pull your finger out of my ass and tell me this is a joke. It must be a joke....because I also have read that VS2002 and VS2003 will not be supported on Vista. This clearly violates Microsoft's own terms of support for these products.
0
1679
by: salad | last post by:
I took the Bart down to San Francisco and joined a couple thousand other nerds to watch the Vista/Office launch. The receptionist was quite pleasant and getting the event packets a smooth process. First we watched the standord keynote session where companies that have implemented Vista extolled its virtues. Vista appears to be a nice operating system. I think the desktop action
4
2321
by: Viviana Vc | last post by:
Hi all, I've read the WindowsVistaUACDevReqs.doc documentation and I have done different small tests on Vista to understand the bahaviour and now I have a few questions. 1) If I create a dummy console application that creates a file in Program Files directory, this one will succeed and will create the file b/c of the virtualization. But, if I do the following call in a console window (a.exe contains just
10
3094
by: hugh welford | last post by:
Hi Have just installed IIS7 on Vista and am trying to access a .mdb file through ASP. Getting server error. I think the problem is in the file permission. Under XP Pro/IIS6 is used to have to set the .mdb file security via windows explorer to give IUSR_machinename full permissions on this file for anonymous web access. Cant seem to do this with Vista explorer - says object cannot be found.
2
2368
by: Vighneswar | last post by:
Hi All Please let me know is there any way to clear the address bar history ( Typed URLs) of Firefox browser programmatically. Deleting 'index.dat' under profiles folder of firefox will delete both ( history and Typed URLs ). Here I need to clear only the address bar history of firefox. Also is there any way to programmatically delete IE7 browser history on Windows Vista. I could able to delete IE7 browser history on Xp machine, but...
11
2672
by: =?Utf-8?B?S3VlaXNoaW9uZyBUdQ==?= | last post by:
I am running Visual studio 2003 with framework 1.1 on a vista platform. However it runs very slow in debug mode, especially while it is loading dlls. What is the problem? Is there a compatibility problem between XP and Vista? How to speed it up? If I upgrade the Visual studio 2003 to 2005, will it solve the problem?
8
1669
by: =?Utf-8?B?WVhR?= | last post by:
Hello, I used Image.FromFile method to get lots of images from files, it's very slow in Windows Vista, but it's fast in Windows XP! could anyone please tell how to speed in Windows Vista? thank you
1
6714
by: techtonator | last post by:
Hi, I have a laptop with Vista Home Premium 64 bit installed. It also has a recovery partition. Now since this can be used to restore the system back to its factory state, HP/Microsoft didn't provide any Vista OS DVD even though MS must have charged me for the Vista license. Now that I have paid for the Vista license and I don't have the Vista DVD for clean (re)install of Vista, is there any way to create the Vista DVD that I could use for...
0
10620
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10372
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10110
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7650
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5682
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4329
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3851
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.