Getting “the syntax of the command is incorrect” is incorrect” error

Asked By 30 points N/A Posted on -
qa-featured

I am new on the command line so do not know much about it. As I type any command I got an error “the syntax of the command is incorrect” what does it means actually. Do I  write the wrong command. Also, experts please provide me the way to solve it.

SHARE
Answered By 0 points N/A #146249

Getting “the syntax of the command is incorrect” is incorrect” error

qa-featured

Yes, the error comes when yo writes the command syntax wrong. The command may be correct, but the syntax of the command is not correct. Use the quotes instead of spaces. For example, if you want to type the directory document text type it in quotes “document text.txt”.
For example, if you want to copy the document text file to flash directory, type the command like this copy “document test.txt” flash this command will copy the document text file to the flash directory.
If you want to move the document text file to flash directory write the following command move “document text.txt” flash. This command will move the file into the flash directory.

Login/Register to Answer

Related Questions