An open API service indexing awesome lists of open source software.

https://github.com/ronknight/search-move-files

🚚Search all files that has a filename as the keyword from a source folder and move files to the new destination folder
https://github.com/ronknight/search-move-files

batch-script cli cscript vbs vbscript

Last synced: 5 months ago
JSON representation

🚚Search all files that has a filename as the keyword from a source folder and move files to the new destination folder

Awesome Lists containing this project

README

          

# Search directory for a specific keyword or a file type and move files to new location using VBScript and batch file

###### Date Created: January 17, 2019
###### Author: Ronknight
###### License: MIT
###### Tags: Search, Move, Files, Images, VBScript, vbs, Batch, bat, CLI
###### Script: search-move-files.vbs
###### Description: Search all files that has a filename as the keyword from a source folder and move files to the new destination folder

---

## Instructions

First, You’ll start by editing the **search-move-files.vbs** file.

1. Open the vbs file using your favorite file editor.
2. Change the **SourceFolder** path to your *SourceFolder* path. Example: C:\User\Ron\Downloads\
3. Change the **DestFolder** path to your *DestFolder* path. Example: C:\User\Ron\Desktop\New Folder\
4. Change **keyword** to your *new-keyword* Examples: .xlsx or .jpg or image
5. Save and close *search-move-files.vbs*.
---

Secondly, edit the **Run-Seach-Move-Program.bat** file.

1. Open the BATCH file using your favorite file editor.
2. Update the **path** of your vbs file.
3. Save and close *Run-Seach-Move-Program.bat*.
---

Lastly, Run the Program

1. Double cLick **Run-Seach-Move-Program.bat** to execute the vbs program.
2. Wait for vbs to finish the task.
3. Watch as windows copies your files to your new location.