move-file-into ( from to -- )
Factor handbook » Input and output » Directory manipulation » Deleting, moving, and copying files

Prev:move-file ( from to -- )
Next:move-files-into ( files to -- )


Vocabulary
io.directories

Inputs
froma pathname string
toa directory pathname string


Outputs
None

Word description
Moves a file to another directory without renaming it.

Errors
Throws an error if the file does not exist or if the move operation fails.

Definition