There some jpg file I need to move to another folder. Below are samples. They are in d:\order\
aaa01.jpg, aaa02.jpg, aaa03.jpg...aaa99.jpg
I use code below to move
dim myPath as string = "d:\order\"
dim myDestPath as string ="d:\order\backup"
System.IO.File.Move(myPath & "*.jpg", myDestPath)
But an error will occur said "Illegal characters in path"
How to fix it? How to use "*" in move method?
aaa01.jpg, aaa02.jpg, aaa03.jpg...aaa99.jpg
I use code below to move
dim myPath as string = "d:\order\"
dim myDestPath as string ="d:\order\backup"
System.IO.File.Move(myPath & "*.jpg", myDestPath)
But an error will occur said "Illegal characters in path"
How to fix it? How to use "*" in move method?