下午好一切, 我試圖創建此代碼,讓我從我進入TextBox1.Text在目錄中創建一個新的文件夾,然後打開一個對話框,然後選擇一個PDF,然後將文件路徑放入TextBox2(TextBox3中的單獨PDF也是如此)。 An unhandled exception of type 'System.IO.IOException' occurred in Microsoft.VisualBasic.dl
我的問題是如何通過只更改文件系統級別的路徑 android file.nenameTo(newpath);此方法僅適用時,我有這樣的 File f = new File(/storage/Folder1/Folder2/image.png);
File newfile = new File((/storage/Folder1/Folder3/image.png);
f.renameTo(ne