[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: RE: HELP
- From: <benjamin.steinwender@...>
- Date: Tue, 7 Mar 2017 05:24:14 +0000
Hi,
on Windows:
os.execute("wmic path win32_physicalmedia get SerialNumber")
http://superuser.com/questions/708146/how-to-get-the-hard-drive-serial-number
http://stackoverflow.com/questions/2829404/how-do-i-run-an-executable-using-lua
command will be different on different OS.
-Benjamin
-----Original Message-----
From: lua-l-bounces@lists.lua.org [mailto:lua-l-bounces@lists.lua.org] On Behalf Of JM Venet Magic.fr
Sent: Tuesday, February 28, 2017 5:00 AM
To: lua-l@lists.lua.org
Subject: HELP
Hello,
I need to retrieve HDD's infos in lua, and store them in variables.
Does someone has an idea, especially the physical serial number, not the one after formatting ?
Thanks,
JM Venet