Exe ile CMD çalıştırma

şimdide cmd 1 salisee görünüp gidiyor

Kod:
print("Select a name")
name = io.read()
print("You sure about your name?", name)
os.execute("timeout /t 1 >nul")
print("If you sure then write 'YES' but if you not write 'Again'")
local answer = io.read()

if answer == "YES" then
    print("Ok")
    local file = io.open("Data.txt", "w")
    file:write(name)
    file:close()
print("Send your message")
local msg = io.read()
print(msg)
elseif answer == "Again" then
    print("Select a name")
    local newname = io.read()
    local file = io.open("Data.txt", "w")
    file:write(newname)
    file:close()
end

okuldayım saat 1.20ye kadar
 

Technopat Haberler

Geri
Yukarı