linux 在批处理中,完整路径有空格的处理方式(加引號)

cp -f E:/XML_EDITOR/xmleditor25/xmleditor/Editor_UIOuterCtrl/TraceViewDlg.cpp       E:/XML_EDITOR/'XMLEditor windows server 2008'/xmleditor/Editor_UIOuterCtrl/TraceViewDlg.cpp 
cp -f E:/XML_EDITOR/xmleditor25/xmleditor/Editor_UIOuterCtrl/TraceViewDlg.h         E:/XML_EDITOR/'XMLEditor windows server 2008'/xmleditor/Editor_UIOuterCtrl/TraceViewDlg.h 
cp -f E:/XML_EDITOR/xmleditor25/xmleditor/Editor_UIOuterCtrl/UIManageVersion.cpp    E:/XML_EDITOR/'XMLEditor windows server 2008'/xmleditor/Editor_UIOuterCtrl/UIManageVersion.cpp 
cp -f E:/XML_EDITOR/xmleditor25/xmleditor/binCommon/translations/zh_CN.xml          E:/XML_EDITOR/'XMLEditor windows server 2008'/xmleditor/binCommon/translations/zh_CN.xml 
cp -f E:/XML_EDITOR/xmleditor25/xmleditor/template/traceview.htm                    E:/XML_EDITOR/'XMLEditor windows server 2008'/xmleditor/template/traceview.htm 
cp -f E:/XML_EDITOR/xmleditor25/xmleditor/template/traceview.js                     E:/XML_EDITOR/'XMLEditor windows server 2008'/xmleditor/template/traceview.js 


 

原文地址:https://www.cnblogs.com/mengfanrong/p/5224690.html