1.

Solve : MOVE Command Syntax Errors - Very Frustrating, Help!!?

Answer»

Hello Everyone,

My apologies upfront for what is probably a ridiculously simple question, but I am not at all understanding why i'm getting syntax errors when I attempt to move files via the MOVE command. I'm following every single example that i've seen ONLINE and in books - still no luck. If i'm not mistaken, the syntax for MOVE should be:

C:\>MOVE file.txt C:\File Folder

Correct?

What i'm trying to do is move some individual MP3 files from a folder named MISCELLANEOUS to folders named with their respective band names - both the files and folders are on my D: drive. So according to various examples i've seen online, in this case the syntax should be:

D:\>Music\Miscellaneous>MOVE SongTitle.mp3 D:\BandFolder


However, the above returns a syntax error. I then did the following:

D:\>Music\Miscellaneous>MOVE SongTitle.mp3 D:\Music\BandFolder


This returns the same error which is irritatingly frustrating. Believe it or not, I transfer mp3 files often enough that using the MOVE command would be tremendously helpful - I just need it to work correctly!!!

Can someone just give me the answer so that I can learn and know?

Thanks!!!


Quote from: Avenue on September 16, 2007, 06:03:34 AM

If i'm not mistaken, the syntax for MOVE should be:

C:\>MOVE file.txt C:\File Folder

Correct?

Partly correct. File and/or folder names with SPACES in them need to be enclosed in quotes "like this".

Quote
However, the above returns a syntax error.

Which you do not describe. So helpful! Try the quotes.


Quote from: contrex on September 16, 2007, 06:43:50 AM

Quote from: contrex
Which you do not describe. So helpful! Try the quotes.

I know better than to not include the error messages - my mistake. However, I do not think I deserved your sarcasm - especially since SYNTAX ERROR generally means that a computer statement is not written correctly. On the command line you do not get volumes of error-handling explanations, afterall.

Verbatim from the CMD: "The Syntax Of The Command Is Incorrect".

I mean really here, what else CAN you get from a CMD syntax error?

The quotes worked.
Quote
I do not think I deserved your sarcasm

SUCK it up.

Quote
I mean really here, what else CAN you get from a CMD syntax error?

Lots, and some of it potentially informative and diagnostic.



I just found this site and forum this evening and from what I can tell it's oriented to computer NEWBIES as well as seasoned folk. Although I certainly did know better than to not include the error message, a lot of very inexperienced computer folk who might post on this forum for help will not know.

Thanks for the assistance, I learned. As well as being helpful on here, we can also at times be cranky and humorous... don't be discouraged...

Quote from: contrex on September 16, 2007, 07:48:30 AM
Quote
I do not think I deserved your sarcasm

Suck it up.

Ah yes, I see that you changed your original reply. Well, you are the one who needs to "suck it up" - if you are going to get cranky over newbies asking questions then why do you answer questions on this forum?

And no - command line just doensn't have many error-handling options when there is a syntax error - a seasoned computer pro such as yourself should have known this. Instead, you decided to cry and go PMS.

People are going to post on here with questions and not supply all info (AGAIN - because they may not know). If you are going to reply and provide help here, then take your own adive and suck it up.


Discussion

No Comment Found