[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: (no subject)
- From: Enrico Colombini <erix@...>
- Date: Mon, 08 Jul 2013 09:21:04 +0200
On 08/07/2013 6.31, saeid rezaee wrote:
I want to write a program with Lua that do this job:
this program get an adress of file and copy the file into windows temp directory .
You can use the native shell copy command:
myfile = 'c:\\whatever.txt'
os.execute('copy "' .. myfile .. '" %temp%')
(the double quotes protect against spaces in the file name)
--
Enrico