A file or folder can be moved to a new location by clicking the mouse, dragging it, or using keyboard shortcuts.