Batch Copy file to another direction -
this code doesn't work well. should re-create created file directory. code don't re-create , don't see made error
@echo off dir *.txt>>alek.txt %%x in %1 echo %%x>>"%2" re-create "h:\bat\zad\a\alek.txt" "h:\bat\zad\b" :pause
i think need alter 3rd line this:
for /f %%x in %1 echo %%x>>"%2"
if you're trying write contents of file file. work within batch file pass 2 parameters into.
batch-file copy
No comments:
Post a Comment