Tech Support Forum banner

[SOLVED] just starting to learn c++ and got an error message when trying to open note

864 Views 5 Replies 2 Participants Last post by  Ninjaboi
i just started learning today basically and i was downloading a compiler from this website https://www.embarcadero.com/ and followed their instructions of how to set it up from here Borland C++ 5.5 Free Command-line Tools Supplementary Information

i got the the end of the second section and restarted my computer like i was told. when i went to test it using the third section, i typed "notepad hello.cpp" like i was told and got this message "'notepad' is not recognized as an internal or external comand, perable program or batch file" when before notepad worked just fine.

apparently after i looked at the comments, other people had the same un answered problem. what can i do about this? did i do something wrong or something? also I'm running on windows 7 pro.
Status
Not open for further replies.
1 - 6 of 6 Posts
Re: just starting to learn c++ and got an error message when trying to open notepad

Hello kalibcrone.

Following the steps provided in that setup page, it says:

1. Go to Start >> Run.
2. Type "cmd".
3. In the console window, type "notepad *insert file name here*".

From what your saying, you may have forgotten to type "cmd" first. Even so, it should of still worked.

I also read that you had to adjust your system's environment variables. That could of been the problem. Try checking this link out:

How to fix
See less See more
Re: just starting to learn c++ and got an error message when trying to open notepad

I believe i realize what i did, i accidentaly changed the path completely when i was only supposed to add something and deleted the old one.. but i meant to save it and forgot so now i dont know what was originally in the box. is there a way to get this back?
Re: just starting to learn c++ and got an error message when trying to open notepad

actually i googled it and im going to try this.

C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;c:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared

ill see if it works..
Re: just starting to learn c++ and got an error message when trying to open notepad

awesome it worked!
Re: just starting to learn c++ and got an error message when trying to open notepad

Great! So it was the environment pathway :). Could you mark this thread solved?
1 - 6 of 6 Posts
Status
Not open for further replies.
Top