DOCUMENT:Q88988 23-OCT-1999 [foxmisc] TITLE :SET SAFETY OFF Command Suppresses Messages PRODUCT :Microsoft Fox Miscellaneous Products PROD/VER:MS-DOS:1.21,2.1 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft FoxBASE+ for MS-DOS, versions 1.21, 2.1 ------------------------------------------------------------------------------- SUMMARY ======= In FoxBASE+, the SET SAFETY OFF command suppresses system messages that confirm potentially destructive file operations. For example, when SET SAFETY ON is in effect, the INDEX and ZAP commands may generate a "File already exists, overwrite? (Y/N)" message. This message does not appear when SET SAFETY OFF is in effect. Users will not be warned when files may be overwritten or destroyed. If the REINDEX command is used, the SAFETY setting is ignored. Example ------- SET SAFETY ON USE demo INDEX ON lname TO demo 5 records indexed INDEX ON fname TO demo D:\FOXBASE\FOXVDEMO\DEMO.IDX already exists, overwrite it? (Y/N) 5 records indexed SET SAFETY OFF INDEX ON lname TO demo && Does not warn user 5 records indexed Additional query words: ====================================================================== Keywords : Technology : kbAudDeveloper kbFoxproSearch kbFoxBASE210DOS kbFoxBASE121DOS kbFoxBASESearch Version : MS-DOS:1.21,2.1 ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 1999.