Problem using asterisk w/ filename in batch file
Posted on 2006-05-29
Using the following command in a batch file to copy and rename a file I experience the new file being only 9 Kb and inoperable, when the file is actually about 14 Mb. However, when I remove the asterisk (and modify the original filename accordingly), the command works just fine. I'd like to be able to use an asterisk - or equivalent - in order for the original filename to contain some preceeding characters.
copy K:\"Access Database"\*update2003_FE.bak C:\"Database"\Forms2003_FE.mdb
Looking forward to the answer to this one!