我試圖創建符號鏈接發生器,C++/CLI(基於Windows) 有微軟(MS)符號連接的Windows
一個的Docu但我不知道它excactly是如何工作的。
我tryed找到工作excample,但我無法找到一個和我不能讓我自己一個可行的解決方案。
我的完整代碼HERE!
private: System::Void btnCreateSymlinks_Click(System::Object^ sender, System::EventArgs^ e) {
String^ pathSource = GetSourcePath();
String^ pathDest = GetDestinationPath();
String^ folder = System::IO::Path::GetFileName(pathSource);
lblInfo->Text = pathSource + " -> " + pathDest + "" + folder;
}
如何使用這些pathSource和pathDest的CreateSymbolicLink功能?
此[文章](http://community.bartdesmet.net/blogs/bart/archive/2006/10/24/Windows-Vista-_2D00_-Creating-symbolic-links-with-C_2300_.aspx ) 可能有幫助。 – tinstaafl
它對於C#和我需要C++ – xQp