Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> path disk paths pp 188</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 PATH                             Disk Paths                          pp 188


 Define:  Paths are the subdirectories on the disk.

 Purpose: Provides localization of common data in a subdirectory.

 Notes:   Maximum path length is 77 bytes.

          Total string is: [C:] [Path] [Filename]
          Total length is:  2  +  63  +    12      =     77 bytes total.


 ----------------------------------------------------------------------------


 BEGIN
   ChDir('\');
   MkDir('\subdir1');
   MkDir('\subdir1\subdir2');
   MkDir('\subdir1\subdir2\subdir3');
   MkDir('\subdir1\subdir2\subdir3\subdir4');
   MkDir('\subdir1\subdir2\subdir3\subdir4\subdir5');
   MkDir('\subdir1\subdir2\subdir3\subdir4\subdir5\subdir6');
   MkDir('\subdir1\subdir2\subdir3\subdir4\subdir5\subdir6\subdir7');
   MkDir('\subdir1\subdir2\subdir3\subdir4\subdir5\subdir6\subdir7\subdir8');
 END.

See Also: ChDir GetDir MkDir RmDir

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson