Skip to content

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

Notifications You must be signed in to change notification settings

ronknight/search-move-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published