Im trying to create a short simple script which will search a certain path(s) and then if .LK is found then either preform a Probkup or a proshut
the part im having the problem with is trying to pass\read the created lk.txt file variables\database name into probkup or proshut,
I know it is simple but I really seem to be struggling with this some reason..
Contents of Batch File
for /f "tokens=*" %%a in ('dir /b *.lk') do echo>>lk.txt %%a
Now for Each line in lk.txt i want to it preform either a probkup or prohut,
many thanks in advance