文件路径..
用CFileDialog m_FileDlg; m_FileDlg.GetPathName();获得了一文件路径
如C:\Documents and Settings\Administrator\桌面\GuardDataBack.exe;
现在要用此路径再程序中打开GuardDataBack, 将此路径给打开GuardDataBack
的函数调用. C:\Documents and Settings\Administrator\桌面\GuardDataBack.exe;
路径会将'\'当成了转义符号.
我想知道有没有什么函数可以将路径名C:\Documents and Settings\Administrator\桌面\GuardDataBack.exe;
转化成C:\\Documents and Settings\\Administrator\\桌面\\GuardDataBack.exe;
或者获得的文件路径就是C:\\Documents and Settings\\Administrator\\桌面\\GuardDataBack.exe;?