<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Making directories???' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Making directories???' posted on the 'Pascal' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2013 Programmers Heaven</copyright>
    <pubDate>Thu, 20 Jun 2013 03:59:14 -0700</pubDate>
    <lastBuildDate>Thu, 20 Jun 2013 03:59:14 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Making directories???</title>
      <link>http://www.programmersheaven.com/mb/pasprog/177192/177192/making-directories/</link>
      <description>I am pretty sure you can make your own folder/directorie with pascal. The only problem is i don't know how to. I want to make a folder to put saved files in. So along with making one I would like to know how to hide it, if you can. that way they can't change there stats by getting acess to it. thanks alot!!! &lt;br /&gt;
                           Wizarbo&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/177192/177192/making-directories/</guid>
      <pubDate>Mon, 17 Mar 2003 19:03:40 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Making directories???</title>
      <link>http://www.programmersheaven.com/mb/pasprog/177192/177257/re-making-directories/#177257</link>
      <description>&lt;strong&gt;&lt;span style="color: Red;"&gt;This message was edited by zibadian at  2003-3-18 3:27:27&lt;/span&gt;&lt;/strong&gt;&lt;hr /&gt;&lt;br /&gt;
: I am pretty sure you can make your own folder/directorie with pascal. The only problem is i don't know how to. I want to make a folder to put saved files in. So along with making one I would like to know how to hide it, if you can. that way they can't change there stats by getting acess to it. thanks alot!!! &lt;br /&gt;
:                            Wizarbo&lt;br /&gt;
: &lt;br /&gt;
Check out MkDir(), SetFAttr(), and faHidden in the help files. This can still allow the user to edit the data files, but it is slightly more difficult. There are better ways to do this, for example a CRC type check (source code is somewhere on this site).&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/177192/177257/re-making-directories/#177257</guid>
      <pubDate>Tue, 18 Mar 2003 03:24:32 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Making directories???</title>
      <link>http://www.programmersheaven.com/mb/pasprog/177192/177271/re-making-directories/#177271</link>
      <description>to make directories :&lt;br /&gt;
&lt;br /&gt;
USES DOS;&lt;br /&gt;
&lt;br /&gt;
BEGIN&lt;br /&gt;
     MkDir('YourDirectoryWithFullOrLocalPath');&lt;br /&gt;
END.&lt;br /&gt;
&lt;br /&gt;
not tested.&lt;br /&gt;
DexterMagnigfic at yahoo.fr&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/177192/177271/re-making-directories/#177271</guid>
      <pubDate>Tue, 18 Mar 2003 05:07:15 -0700</pubDate>
      <category>Pascal</category>
    </item>
    <item>
      <title>Re: Making directories???</title>
      <link>http://www.programmersheaven.com/mb/pasprog/177192/177426/re-making-directories/#177426</link>
      <description>: I am pretty sure you can make your own folder/directorie with pascal. The only problem is i don't know how to. I want to make a folder to put saved files in. So along with making one I would like to know how to hide it, if you can. that way they can't change there stats by getting acess to it. thanks alot!!! &lt;br /&gt;
:                            Wizarbo&lt;br /&gt;
: &lt;br /&gt;
&lt;br /&gt;
Other have already taken care of the Directory creation and hiding. Zibadian mentioned CRC checks which are a good idea as well. The other method I like to use is encryption. It doesn't have to be very good, but it will keep most people from editing their data. Here's a quick example of the normal input and a quick encoding program I wrote:&lt;br /&gt;
&lt;pre class="sourcecode"&gt;
  Name    : Phat Nat MALE 24 Programmer
  Encoded : ++--_-+-+_ +5)?QESB
  Decoded : Phat Nat MALE 24 Programmer
ORD Values of Encoded:
  174 168 183 190 185 209 205 220 230 203 162 189 194
  183 227 241 237 0 218 53 41 29 246 81 69 83 66
&lt;/pre&gt;&lt;br /&gt;
&lt;strong&gt;BTW If anyone can figure out my encoding scheme, I'd love to know. You will need to copy and paste this into a file and open it in DOS where it can be seen correctly. I have also included the ORD value of the encoded bytes (decimal form) in case that doesn't work.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Anyways, this is just a quick example and can easily be put into a game for storing data. Just another idea &lt;img src="http://www.programmersheaven.com/images/Community/twink.gif" width="15" height="15" alt="" /&gt;&lt;br /&gt;
&lt;br /&gt;
  Phat Nat&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pasprog/177192/177426/re-making-directories/#177426</guid>
      <pubDate>Tue, 18 Mar 2003 17:13:54 -0700</pubDate>
      <category>Pascal</category>
    </item>
  </channel>
</rss>