Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Novlib 3.30 Online Reference - <b> fsbinderyopen()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FSBinderyOpen()
------------------------------------------------------------------------------
 Purpose:
 Open the file server's bindery.

 Syntax:
 bResult = FSBinderyOpen()

 Parameters:
 None.

 Returns:
 A boolean value (TRUE or FALSE).

 The CA-Clipper name for this function is:
 FSBindOpn()

 Description:
 FSBinderyOpen() returns TRUE if the bindery is opened successfully.

 Returns FALSE if not, or if an error occurs.

 FSBinderyOpen() normally follows a call to FSBinderyClose().

 Example:
 // To back up the bindery files to drive A:
 if( FSBinderyClose() )
    if ( left( NWVersionNumberGet(), 1 ) = "2" )
       copy file SYS:SYSTEM\NET$BIND.SYS to a:NET$BIND.SYS
       copy file SYS:SYSTEM\NET$BVAL.SYS to a:NET$BVAL.SYS
    else
       copy file SYS:SYSTEM\NET$OBJ.SYS  to a:NET$OBJ.SYS
       copy file SYS:SYSTEM\NET$PROP.SYS to a:NET$PROP.SYS
       copy file SYS:SYSTEM\NET$VAL.SYS  to a:NET$VAL.SYS
    endif
    FSBinderyOpen()
 endif

 Notes:
 This function requires Supervisor or console operator equivalence.

 If FALSE is returned, check NWErrorGet().

See Also: FSBinderyClose() FSObjectList()

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