# Command line scan alternatives Windows

**URL:** https://forums.plex.tv/t/command-line-scan-alternatives-windows/848408
**Category:** Plex Media Server
**Tags:** server-windows
**Created:** [July 25, 2023, 6:46pm UTC](https://forums.plex.tv/t/command-line-scan-alternatives-windows/848408 "2023-07-25T18:46:20Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![adairbsjr](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@adairbsjr](https://forums.plex.tv/u/adairbsjr)
#### Post date: [July 25, 2023, 6:46pm UTC](https://forums.plex.tv/t/command-line-scan-alternatives-windows/848408/1 "2023-07-25T18:46:21Z")

</div>

Hello friends.  
Forgive my English.  
I noticed that for some time now the command line scan no longer works in newer versions of the plex server. I would like to know an alternative since I prefer to scan only a folder via Windows cmd. I looked it up but couldn’t use any of them as I don’t know much about it. I would appreciate any help I can get. Thanks

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [July 26, 2023, 5:49am UTC](https://forums.plex.tv/t/command-line-scan-alternatives-windows/848408/2 "2023-07-26T05:49:51Z")

</div>

Use URL commands instead. [https://support.plex.tv/articles/201638786-plex-media-server-url-commands/](https://support.plex.tv/articles/201638786-plex-media-server-url-commands/)  
The `curl` utility allows you to make these queries from the command line.

---

<div class="post-metadata">

### Author: ![adairbsjr](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@adairbsjr](https://forums.plex.tv/u/adairbsjr)
#### Post date: [July 30, 2023, 11:15pm UTC](https://forums.plex.tv/t/command-line-scan-alternatives-windows/848408/3 "2023-07-30T23:15:51Z")

</div>

I’ve type this:

[http://127.0.0.1:32400/library/sections/73/refresh?path=“E:\A\Plex\Movies\terminator”&X-Plex-Token=mytoken](http://127.0.0.1:32400/library/sections/73/refresh?path=%22E:%5CA%5CPlex%5CMovies%5Cterminator%22&X-Plex-Token=mytoken)

Did not discover the new content, only showed this message

- Scanning the “mylibrary” section
- Library scan complete: Extra information may still be downloading from the Internet

But when I click scan for files in the plex web interface, then discovers the new content

---

<div class="post-metadata">

### Author: ![Yaracuy](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/yaracuy/32/313162_2.png) [@Yaracuy](https://forums.plex.tv/u/Yaracuy)
#### Post date: [July 31, 2023, 3:52am UTC](https://forums.plex.tv/t/command-line-scan-alternatives-windows/848408/4 "2023-07-31T03:52:34Z")

</div>

You need to [URL Encode](https://www.urlencoder.org/) your path if you are using it from the command line with `curl`

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [October 29, 2023, 3:52am UTC](https://forums.plex.tv/t/command-line-scan-alternatives-windows/848408/5 "2023-10-29T03:52:43Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
