Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FAST TEXT SEARCH for Clipper v.2.0 - <b>chngdir(<expc>)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   CHNGDIR(<expC>)

       Purpose

   Change the system's default directory.

       Parameters

   <expC> is a string specifying the new directory.

       Return Value

   .T. if directory successfully changed, .F. if the operation fails.

       Comments

   CHNGDIR() allows you to change the directory on any drive, but it 
   does not allow you to change the default drive. Use SETDRIVE() to 
   change drives. Use CHNGDIR() to change directories without having to 
   resort to a RUN statement.

       Example

   .
   .
   .
   newdir = 'c:\tmp'
   if CHNGDIR( newdir )
       ? 'changed ok'
   else
       ? couldn't change
   endif
   .
   .
   .


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