I have a script to move folders from one local account to my admin.
But I want to use a wildcard in my script, so for example if the folder name is FOLDER, FOLDER1 is also moved to the admin.
I am trying this command:
Move /Y C:\Users\Test\Desktop\folder* "C:\Users\admin\Documents\Moved
But I get the error:
The syntax of the file name, folder name, or volume name is incorrect.