Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_chdir() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_CHDIR()

 DESCRIPTION

 C_CHDIR() changes the current directory to a new specified directory.

 SYNTAX

 C_CHDIR(directory)

 PARAMETERS

 directory (C) is a character string of the new directory.

 RETURNS

 C_CHDIR() returns true (.T.) if the directory change was successful,
 or false (.F.) indicating an error occurred.

 EXAMPLES

 m_dir = space(40)

 @ 1,0 say "Enter Directory " get m_dir     && Get new directory
 read                                       && from user

 if !c_chdir(m_dir)                         && Try to change to directory
   ? "Error Changing Directories"
 endif


See Also: C_MKDIR() C_RMDIR() C_GETDIR() C_ISDIR() C_ZAPDIR()

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