Roy's Random Rants

Reviews of products I like, plus whatever comes to my mind...

Tuesday, February 11, 2020

Windows batch processing of file names in a text file

The following script loops through copy.txt file's content (1 file name per line), then copies each file to D:\tmp\:

@echo off
for /F %%a in (copy.txt) do copy "%%a" D:\tmp\


Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
View mobile version
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2026 (6)
    • ►  March (1)
    • ►  February (3)
    • ►  January (2)
  • ►  2025 (11)
    • ►  September (8)
    • ►  August (2)
    • ►  June (1)
  • ►  2024 (1)
    • ►  July (1)
  • ►  2023 (12)
    • ►  December (1)
    • ►  November (1)
    • ►  October (3)
    • ►  September (4)
    • ►  June (1)
    • ►  April (2)
  • ►  2021 (1)
    • ►  December (1)
  • ▼  2020 (2)
    • ▼  February (2)
      • Windows batch processing of file names in a text file
      • Windows FFMPEG Script to transcode video files fro...
  • ►  2018 (1)
    • ►  April (1)
  • ►  2017 (1)
    • ►  June (1)
  • ►  2015 (1)
    • ►  March (1)
  • ►  2014 (3)
    • ►  October (1)
    • ►  September (1)
    • ►  June (1)
  • ►  2013 (5)
    • ►  November (1)
    • ►  October (2)
    • ►  August (2)
  • ►  2012 (3)
    • ►  December (2)
    • ►  October (1)

About Me

My photo
Roy
I spend most of my time learning and tinkering with all sorts of technology.
View my complete profile
Copyright © Roy Park. All rights reserved. Simple theme. Powered by Blogger.