The OneDrive app on Windows systems allows you to store files on the cloud up to 5 GB. There is another feature in the OneDrive app that allows users to choose an option whether to keep files on system space or make them available online without taking up your system storage. This feature is called Files on Demand. In this article, we explore this feature further and explain the various options on how to make files available on demand in OneDrive on your Windows 11 PC.
How to use OneDrive folders to use OneDrive files on demand in Windows 11
Step 1: Go to the taskbarrightmost corner and click OneDrive application icon once.
Step 2: Then, select the Open Folder option at the bottom of the OneDrive app as shown below.
# Step 3: In the OneDrive folder, the files with a status of in a green circle with a green check mark are actually Locally Available. This means that the file is available locally and you don't need to download the file to use it.
Always keep on this device from the context menu as shown below.
Always Available (green circle with white check mark) on your device, this will take up storage space on your hard drive as shown below.
NOTE: This means you can also access this file on your system while offline.
Free Space from the context menu as shown below.
Note: You will now need to access this file online. This means you need to download the file before you can access it.
Windows R keys simultaneously on your keyboard to openRunDialog box.
Step 2: Then, typepowershell in the run box and press the Enter key to open the PowerShell application.
Enter key.
Note: Please replace C:\Users\%username%\OneDrive\You Dont Know JS – Types & Grammar.pdf with your file path.
attrib "C:\Users\%username%\OneDrive\You Dont Know JS - Types & Grammar.pdf"Step 4: Here you can see if
U is shown in the output, it means that the file is Online Only.
P is written in the output, it means that the file is always available on your device.
does not write anything, it means the file is available locally.
Step 7: Now to change the file status, execute the following explained command as shown below.
: Please replace C:\Users\%username%\OneDrive\You Dont Know JS – Types & Grammar.pdf with your file path. To set the file status to online only:
attrib +u "C:\Users\ %username% \OneDrive\You Dont Know JS - Types & Grammar.pdf"
To make the file status always available:
attrib +p "C:\Users\ %username% \OneDrive\You Dont Know JS - Types & Grammar.pdf"
To set the file status to locally available:
attrib -p "C:\Users\ %username% \OneDrive\You Dont Know JS - Types & Grammar.pdf"
Step 8: The output shown below is used to change the status of the file to
Online Only. You can execute the other commands above to change the status of the file to whatever you want.
Step 9: Close the PowerShell application after viewing and setting the file status.
This is how you can view and change the status of files in your OneDrive folder using the PowerShell application on your system.
The above is the detailed content of How to use OneDrive files on demand in Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

Notepad++7.3.1
Easy-to-use and free code editor

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
