0
使用VB.Net如何複製和保存文件
我想將txt文件從一個位置複製到另一個位置。
textbox1.text = Source file directory
textbox2.text = destination file directory
對於實施例
textbox1.text = "C:\1.txt"
textbox2.text = "d:\"
我想的1.txt到d驅動器複製。
如何做到這一點。
需要示例代碼幫助
+1 :我沒有看到文本文件名在textbox2.text(加上沒有在textbox2文本Camelcasing):) – naveen
@naveen:正確的...因爲它只是一個路徑,你必須從源獲取文件名。我補充說。 – Guffa