Just another tech site

Trick: Excel RAD


Objective:

from an excell files with filename, generate a CMD (windows command file) that will be excecuted to copy files.

The Excel file

This file contains a colum with the file name

Add the column

This is the code that will produce the lines of the script

="COPY FULL_"&A2&" TEMP\"

Copy the Colum and Past as Value

It is important to use the value of the reference and not the reference it self

Generate the CMD File

Save the new Sheet as TXT
Rename as CMD and execute (in the right directory of course)

Leave a comment