Reputation: 6014
I have a problem where I am try to set the following variable
set params=--no_data=true --add-drop-table=false --skip-dump-date
However I keep getting the error '--no_data' is not recognized as an internal or external command. How do I get round this?
Upvotes: 0
Views: 72
Reputation: 2283
The problem is not with that line but with another line that attempts to invoke 'params' as an executable. Probably that other line should first list the executable (mysqldump.exe presumably) and then pass in params, something like this:
mysqldump.exe %params%
Upvotes: 1
Reputation: 37589
try this:
set "params=--no_data=true --add-drop-table=false --skip-dump-date"
Upvotes: 0