1
0
Fork 0

Allow command /Cdir

Fix quoting so that command /c mount d "/tmp/a b" works
This breaks command /c "dir", but this doesn't work on real DOS either.
Let's hope everything still works.


Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3728
This commit is contained in:
Peter Veenstra 2011-06-24 21:02:05 +00:00
parent 8abf23aa8d
commit 6fc206193e
3 changed files with 35 additions and 1 deletions

View file

@ -50,6 +50,7 @@ public:
bool FindCommand(unsigned int which,std::string & value);
bool FindStringBegin(char const * const begin,std::string & value, bool remove=false);
bool FindStringRemain(char const * const name,std::string & value);
bool FindStringRemainBegin(char const * const name,std::string & value);
bool GetStringRemain(std::string & value);
int GetParameterFromList(const char* const params[], std::vector<std::string> & output);
void FillVector(std::vector<std::string> & vector);