h6. [[OS SWI Calls]] h6(. » [[OS_FSControl]] h6((. » OS_FSControl 26 h2. OS_ FSControl 26 h5. (SWI &29) |_<^{width:4em}. Entry | | |<^. R0 |<^. 26 (&1A) | |<^. R1 |<^. Pointer to wildcarded filename of files to copy | |<^. R2 |<^. Pointer to destination | |<^. R3 |<^. [[Flags For File Operations|Flags]]| |<^. R4 |<^. "Start load":link4| |<^. R5 |<^. "Start exec":link4| |<^. R6 |<^. "End load":link4| |<^. R7 |<^. "End exec":link4| |<^. R8 |<^. [[File Descriptor Blocks|Pointer to descriptor]]| |_<^{width:4em}. Exit | | |\2<^. All registers preserved | h4. Use The purpose of this call is to copy objects. h4. Notes This SWI allows you to copy files from one directory to another or as a new name. The destination leafname may not be wildcarded, unless it is "*" signifying "take destination leafname from source leafname". The start and end load and exec parameters give a range of date stamps to copy between. The filetype field is ignored. It is not possible to choose a combination of flags to perform the same operation as "no confirm" in the desktop, as the desktop will overwrite files without confirmation, but won't force the overwriting of locked files, whereas this SWI will only overwrite files if it either has force set, or confirm set and gets positive confirmation. h4. See also * [[File Descriptor Blocks]] * [[Flags For File Operations]] * "Load/Execution Information":link4 * [[OS_FSControl]] [link4]FileSwitch%20Key%20Features#load_execution