Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hallo

Ich hab ein kleines Problem und will es per Batch lösen. Habe ne unübersichtliche Ordnerstruktur (div. Unterordner!) und will mir alle JPGs rausziehen und die in einen Ordner kopieren. Bei mir hakts nur noch an der Kopiererei!

BAT:

######

@echo off

set pfad="F:\Bilder\"

md %pfad%erg\

dir /s /b %pfad% | find /i ".jpg" > "%pfad%test.txt"

xcopy < %pfad%test.txt "%pfad%erg\"

pause

#######

Als Ergebnis bekomme ich Ungültiger Pfad und 0 Dateien wurden kopiert...

Hat jemand ne Idee was ich falsch mache??

Bau mal ein paar echo %pfad% an manchen Stellen ein und überprüf diesen, ob der Pfad passt.

Oder nehm mal das @ech off raus. Dann siehst ja was alles passiert und schief läuft.

Hm, ich kenn mich mit solchen BATs nicht aus, aber ich würde einfach auf Suchen klicken und dann " *.jpg " (ohne " ") eingeben. Das kommt aufs selbe raus und ist nicht so fehleranfällig wie deine Lösung imo.

das mit dem "xcopy <" ist mir unbekannt, dass sowas geht. hab auch in keiner doku auf die schnelle was entdeckt.

nimm doch den robocopy aus dem resource kit her...

ROBOCOPY "F:\Bilder\" "F:\Bilder\erg" "*.jpg" /s

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.