CG_HD
asked on
using the "move" command via command line
Hello there - first off thanks for taking a look and my problem.
The situation: I'm writing one line of code to move data from a to b and I'm getting an syntax incorrect error. There's a good reason for doing this via command but I won't bore you with the details:)
Code: move G:\uploads\* H:\old users\departed employee images\
Error: The syntax of the command is incorrect
The G: drive is a internal hard drive and the H: is an external drive attached to the same system. All necessary rights have been setup/verified on the traversed directories. Spelling and directory paths have been ruled out. I ran the same command on some test directories in the root of C:\ without any trouble.
Any input is much appciated!
The situation: I'm writing one line of code to move data from a to b and I'm getting an syntax incorrect error. There's a good reason for doing this via command but I won't bore you with the details:)
Code: move G:\uploads\* H:\old users\departed employee images\
Error: The syntax of the command is incorrect
The G: drive is a internal hard drive and the H: is an external drive attached to the same system. All necessary rights have been setup/verified on the traversed directories. Spelling and directory paths have been ruled out. I ran the same command on some test directories in the root of C:\ without any trouble.
Any input is much appciated!
ASKER
Using "G:\uploads\*.*" "H:\old users\departed employee images\" I get a slightly different error...
Error: The filename, directory name, or volume label syntax is incorrect.
The filename, directory name and volume label (G: and H:) have been verified.
thoughts?
Error: The filename, directory name, or volume label syntax is incorrect.
The filename, directory name and volume label (G: and H:) have been verified.
thoughts?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks oBdA - with a little tweeking that work perfectly...I appreciate everyone's help!
move "G:\uploads\*.*" "H:\old users\departed employee images\"