How does moving a computer file work

Sort, rename, or move photos and files in OneDrive

After you've uploaded photos and files to OneDrive, you can organize them by rearranging, renaming, and moving them on the OneDrive website. To see these options, sign in to OneDrive on the web with your personal Microsoft account.

Sort files

Note: As explained later in this article, the following steps do not apply to Photo View, as this web-only view combines photos from different folder locations in OneDrive.

  1. In OneDrive, select on the web my data and go to the folder that contains the files or photos you want to sort.

  2. Select a column heading, and then choose the display order you want. (For example, select the header Surname off and then A to Z or Z to A.)

    • Alternatively, you can use the top right of the screen sort by Select to set the order in which your files will be displayed; B. by name, changed or approval.

      Note: The option sort by top right is only available when you're signed in with a Microsoft account.

Rename file or folder

  1. Select the file or folder you want to rename. (In List view, check the circle to the left of the item. In Tile or Photo view, check the circle in the top right corner of the tile.)

  2. click on Rename, and enter a new name.

Move a file or folder to a different location

To move a file or folder to

  1. Navigate to the file or folder that you want to move.

  2. Select the item that you want to move. (In List view, check the circle that appears to the left of the item when you hover over it. In Tile or Photo view, check the circle in the top right corner of the tile when you hover over it.) You can also select multiple items to move together as a group.

  3. Select on the top navigation bar Move in out.

  4. Navigate in the area Move in to the destination folder, and then select Move out.

    If you want to create a new folder to save the item in, select New folder.

  5. If you need to move files or folders between OneDrive accounts (e.g. from a Microsoft account to a work or school account), you need to sync the files with your PC or Mac and then use File Explorer (for Windows) or use the Mac Finder to move your files.

    Note: You can't move photos out of Photo view because this web-only view brings together photos from different folder locations in OneDrive. If you want to move the photos that appear there, you need to find the files in Files view (or File Explorer or Finder), and then move the files from their actual location. If you took the photos on a cell phone, find them in the "My Photos" folder.

    Likewise, you cannot move an album to another location because an album is also an aggregated view of individual files, not a folder that can be easily moved as a unit.


  • When you're signed in to the OneDrive desktop app on your computer, you can use File Explorer (or Mac Finder) to sort, move, and rename your OneDrive files and folders.

  • You can also use the OneDrive mobile app on your Android, iOS, or Windows device to sort, move, or rename files or folders.

additional Information

Do you need more help?

Access the online help
For more information, see the OneDrive and OneDrive for work or school / university support pages.
For information about the OneDrive mobile app, see Troubleshoot the OneDrive mobile app.

Administrators can also use the

OneDrive Tech CommunityOneDrive, the.

Email support
If you still need help, shake your mobile device while the OneDrive app is open or email the OneDrive support team. To contact OneDrive Support from your PC or Mac, click the OneDrive icon in the notification area or menu bar, then select More > Send feedback > I don't like something out.

OneDrive administrators can use Microsoft 365 for Business support.

Would you like to give us your feedback?
OneDrive UserVoice is the place to suggest the features that you would like us to offer OneDrive. Even if we cannot guarantee certain features or dates, we will respond to every proposal that receives at least 500 votes.

Switch to OneDrive UserVoice.