User Tools

Site Tools


jvs:fscan:manual:chapter2:writeover

fScan Reference Manual, Chapter 2 (CmdLineOptions): writeover

Writeover -- Temporarily set file overwrite flag

usage:
-writeover
-w

The WRITEOVER command temporarily sets the internal OVERWRITE flag.
By default, OVERWRITE is zero and any attempt to overwrite an existing file will generate an error message.
If OVERWRITE is non-zero, write operations will overwrite existing data files without generating any message.
When OVERWRITE is set using the WRITEOVER command, the flag remains set only until the next file writing command. This allows you to selectively indicate which data files to overwrite.
For example:

 
  -o exam.wdf -w     ; force writing of file named "exam.wdf", even if it already exists 
  -o -w              ; force writing of current data set to file, even if that file exists 

The default behavior of the OVERWRITE flag can changed using the -SET OVERWRITE command.

 
  -set overwrite    ; allow any file to be overwritten without generating error messages 
  -set overwrite 0  ; default is to not allow existing files to be written unless -w is used 

See Also:
Output,
Set,
Set Overwrite

fScan Home,
fScan Manual,
CmdLineOptions,
Manual Help

jvs/fscan/manual/chapter2/writeover.txt · Last modified: 2014/08/04 16:03 (external edit)