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
- Host: GitHub
- URL: https://github.com/ronknight/search-move-files
- Owner: ronknight
- Created: 2019-01-17T21:32:33.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-10T20:15:24.000Z (over 1 year ago)
- Last Synced: 2025-05-13T14:40:24.313Z (about 1 year ago)
- Topics: batch-script, cli, cscript, vbs, vbscript
- Language: Visual Basic
- Homepage: https://pinoyitsolution.com
- Size: 1000 Bytes
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.