steal-file Command

The steal-file BASIC program is the only valid way to move a file from another account into the current account.

This physically moves a file to the current master dictionary from another master dictionary. steal-file prompts for the account name and requires sys2 privileges. It also requires that the user invoking steal-file is not protected against updating the file at any level, master dictionary, file level dictionary, or data file level.

After stealing a file, the former owner has no reference to it, not even visitation rights. He or she can get visitation rights by building a Q-pointer to where the file moved, or by referencing the path name.

Syntax

steal-file file.reference

from account: account.name

Example(s)

steal-file goods

from account: victims

See Also

copy Command

File Control Block

move-file Command

rename-file Command