CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Where are the example files?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
n-squared



Joined: 03 Oct 2006
Posts: 99

View user's profile Send private message Send e-mail Visit poster's website

Where are the example files?
PostPosted: Sat Apr 07, 2007 10:13 am     Reply with quote

Hello everyone,
I puchased V4.016 and I am currently using V4.023.
I cannot find the example files. There used to be a sub-directory full of examples and CCS advertises that it is supplying 180 examples.

Can anyone help?

Thanks,
Noam
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Apr 07, 2007 11:00 am     Reply with quote

You're probably using Win98 or Windows 2000. With vs. 4, CCS
decided to "jazz up" the Project and Example folders by putting a
little green 'C' on the Project folder, etc. To do this, the folders
are given a "System" attribute. For some reason, this doesn't
work properly with the Examples folder on the two O/S's given above.
The Examples folder has the file icon for "unknown file type".
It doesn't look like a folder. I reported this, and they might have
fixed it by 4.031 but I'm not completely sure yet.

I fix the problem by running a little DOS batch file in the main CCS
directory: c:\Program Files\PICC
I call it FIX.BAT. It just turns off System attribute on the Project and
Examples folders. Then they look like normal folders again.
Here is the batch file contents. The important lines are the attrib lines.

@echo off
attrib -s projects
attrib -s examples
cls

You don't need a batch file. You can just open a DOS window, go to
the CCS directory and type in each attrib statement by hand and run
them, one at a time.

------
Edit: fixed a typo


Last edited by PCM programmer on Sat Apr 07, 2007 11:12 pm; edited 1 time in total
n-squared



Joined: 03 Oct 2006
Posts: 99

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Sat Apr 07, 2007 2:28 pm     Reply with quote

Thanks, PCM programmer.
You hit it right on the dot.
I am using WinXP but the two directories were hidden.

best regards
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group