This code , which is basically created "createdtxt.txt" text file that writes each files location
dir /s/b D:\mypictures\*.JPG >createdtxt.txt
would give me a file createdtxt.txt with these lines
D:\mypictures\DSC07861.JPG
D:\mypictures\DSC07870.JPG
D:\mypictures\DSC07871.JPG
HOW can i add simple command into this code that would give the name John before each line example:
John D:\mypictures\DSC07861.JPG
John D:\mypictures\DSC07870.JPG
John D:\mypictures\DSC07871.JPG