Archived
1
0
This repository has been archived on 2025-03-31. You can view files and clone it, but cannot push or open issues or pull requests.
powerbasic/FORMAT.BAS
2013-07-15 23:19:32 +02:00

14 lines
557 B
QBasic
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

open "A",#1,"C:\HACKER.NFO"
datum$=mid$(date$,4,2)+"."+left$(date$,2)+"."+right$(date$,2)
print#1,"þ FORMAT-Versuch ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ"
print#1,"Datum: ";datum$;" ";chr$(15);" Uhrzeit: ";time$
print#1,"Kommandozeile: FORMAT ";command$
print#1,"Erfolgreich abgewehrt."
BEEP
COLOR 12:print"* * * W A R N U N G * * *":color 15
print
print"Es wurde ein FORMAT-Versuch gemacht!"
print"Befehl: FORMAT ";command$
print
print"FORMAT ist auf diesem Ger„t momentan deaktiviert."