bat datei führt keine befehle

Status
Für weitere Antworten geschlossen.
Du sollst machen, was @Nilson in #5 Sagte und was du in #6 zitiertest. vorne in eckigen klammern code, dahinter in eckicgen klammern code mit / davor. zwischen den eingeklammerten tags sollst du deinen code posten
 
Natriumchlorid schrieb:
Du sollst deinen Quellcode (also das was in der .cmd-Datei drin steckt) hier im Forum als Klartext reinschreiben, wenn du wissen willst, was in deinem Skript schief läuft. Das hat @Nilson bereits zu Beginn gesagt.
Bitte benutze dazu die [CODE] - Hier kommt dein Inhalt rein. - [/CODE] Tags.
check ich nicht
 
Zuletzt bearbeitet:
Klick mal im Editor über die drei Punkte auf das </> Symbol. Dann geht ein Fenster auf und du kannst dein Code da reinkopieren. Das macht das mit den Code-Klammern automatisch für dich
Capture.PNG
 
  • Gefällt mir
Reaktionen: madmax2010
Code:
copy Downloads\tonon\files nostop.txt /Y
copy nostop.txt Desktop
cd Desktop
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
nostop.txt
cd C:\Program Files (x86)\Microsoft\Edge\Application
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
msedge.exe
pause
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
msg*tonon
hab nur paar sachen rein gespammt
Ergänzung ()

Nilson schrieb:
Klick mal im Editor über die drei Punkte auf das </> Symbol. Dann geht ein Fenster auf und du kannst dein Code da reinkopieren. Das macht das mit den Code-Klammern automatisch für dich
Anhang anzeigen 1116968
NEIN NEIN ES TUT MIR LEID DA STEHT DAS DER DESKTOP GELÖSCHT WIRD
 
Zuletzt bearbeitet:
@bobgamer1045 nuja, kann man machen :)
Daß die Datei nicht ausgeführt wird, kann daran liegen daß es keine Bat Datei ist. Wenn z.b. eingestellt ist, Dateierweiterungen auszublenden, wird die Datei test1.bat.txt als test1.bat angezeigt, ist aber wie du siehst eine txt Datei.
 
  • Gefällt mir
Reaktionen: Oma Erna und madmax2010
Micke schrieb:
@bobgamer1045 nuja, kann man machen :)
Daß die Datei nicht ausgeführt wird, kann daran liegen daß es keine Bat Datei ist. Wenn z.b. eingestellt ist, Dateierweiterungen auszublenden, wird die Datei test1.bat.txt als test1.bat angezeigt, ist aber wie du siehst eine txt Datei.
nein das sind befehle vom cmd das heißt wenn du in cmd del Desktop /Y eingibst wird dein komplettes desktop gelöscht ohne zu bestätigen
 
Damit bestätigst du doch.
Der 'Desktop' wird aber auch dann nur gelöscht, wenn die Datei in einem Ordner gibt, in dem es eine Datei / einen Ordner namens Desktop gibt
 
Ich habe den Eindruck, man kann hier guten Gewissens dicht machen. Das Problem hat sich wohl von selbst verdünnisiert. :)
 
  • Gefällt mir
Reaktionen: ModellbahnerTT, BAGZZlash und I'm unknown
Status
Für weitere Antworten geschlossen.
Zurück
Oben