Set locate command.