看板 Perl 關於我們 聯絡資訊
一般都是用絕對的方式去產生新目錄 或是把檔案寫到檔案 有方法是可以讓使用者自己輸入要建立的資料夾及檔案名稱嗎? 我這樣寫,不過無法產生 print "please enter the name of directory\n"; $file=<STDIN>; mkdir "c:\\test\\$file"; -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.65.55.161