Give ChatGPT access to local files on Windows
Read, search and organize files on an authorized Windows PC with ChatGPT and LocalCommander. Learn the difference between uploads and paired-device access.
Uploading a file to a chat is useful for a single document. A connected Windows PC is different: the assistant can request supported operations against files and folders on the paired device, within the granted permissions. This is useful when the input is a folder, a project, or a collection of recurring reports.
Read and search before making changes
The public Windows catalog includes list_directory, search_files, get_file_info and read_file. Supported document reading includes text, PDF, DOCX and Excel files; some formats support page, sheet or range selection. Start with a single folder that you own and ask for an inventory rather than moving everything immediately.
Connect the right PC
Install and pair the Windows companion through the LocalCommander dashboard, then authorize the plugin in ChatGPT where available. Check the device identity. Request only the scopes needed for the task; reading and writing are different capabilities.
Example: organize a downloads folder
Ask for a list of filenames, extensions and proposed destination folders. Exclude temporary, hidden or sensitive files. Review the proposed mapping before requesting any moves. Ask for a final report of original and destination paths, and keep a backup if the files matter.
Example: summarize a local project
Give the assistant the exact project directory. Ask it to read the README and configuration files relevant to your question, excluding secrets, credentials and private environment files. It can then summarize the structure and recommend next steps without editing the project.
Understand the privacy boundary
Local execution does not imply that all requested file contents stay on your PC. Results returned by tools may be sent to the connected AI client. Only share data you are authorized to process, and avoid sending secrets or unrelated personal files.
Try this prompt
After pairing and authorizing your device, adapt this example to your own permitted files and computer.
@LocalCommander Inspect the folder I specify. List filenames, types and sizes up to one level deep. Suggest an organization plan, but do not move, overwrite or delete anything.
Frequently asked questions
Can ChatGPT read a folder instead of an uploaded file?
With the paired Windows companion and appropriate read permission, supported tools can list folders and read supported files.
Can I prevent file modifications?
Use read-only requests and grant only the scopes you need. The assistant should report what it inspected before any proposed changes.
Can it read PDF and Excel files?
The public read_file tool supports PDF, DOCX, XLSX and XLSM, subject to file accessibility and format limitations.
Documentation and references
Put AI to work on your own PC.
Check availability, pair a device and start with a read-only task.