看板 [ Perl ]
討論串[問題] 目錄與新檔
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓4(4推 0噓 1→)留言5則,0人參與, 最新作者LiloHuang (相見不如懷念)時間18年前 (2007/08/06 11:01), 編輯資訊
0
0
0
內容預覽:
print "please enter the name of directory\n";. $file=<STDIN>;. chomp $file;. mkdir "c:\\$file";. --. 發信站: 批踢踢實業坊(ptt.cc). ◆ From: 61.230.160.177.

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者handsomegirl (薰)時間18年前 (2007/08/06 10:56), 編輯資訊
0
0
0
內容預覽:
一般都是用絕對的方式去產生新目錄 或是把檔案寫到檔案. 有方法是可以讓使用者自己輸入要建立的資料夾及檔案名稱嗎?. 我這樣寫,不過無法產生. print "please enter the name of directory\n";. $file=<STDIN>;. mkdir "c:\\test\
首頁
上一頁
1
下一頁
尾頁