2012-03-26 32 views
0

我想用球拍刪除一個文件。我正在使用以下代碼。如何使用球拍代碼刪除文件?

(delete-file c://foo.txt) 

我收到此消息。

reference to an identifier before its definition: 
c://foo.txt 
+4

我對Lisp-like語言一無所知,但不是你的路徑應該是一個字符串? – 2012-03-26 07:54:14

回答

6
(delete-file "c:/foo.txt") 

順便說一句,既然你問很基本的問題,也許是更好的閱讀the guide第一?