|Im new to this and have been trying to make a batch file to move files on a certain folder to another folder if it contains "mapping" infront of the filename.|
Here is the code i have tried but failed to accomplish the task .Any help is appreciated.
pushd C:\Documents and Settings\User\Desktop\
for %%a in (*.csv) do (
if !filecontain! == "mapping" move %%a "C:\Documents and Settings\User\Desktop\Storage"