Wie mit cmd Dateien verschieben...

Y0DA92

Lt. Junior Grade
Registriert
Juni 2007
Beiträge
481
Hab schon viel gesucht bin aber nicht fündig geworden...brauche auch nur eine kurze Antwort.
 
...hab ich auch schon gefunden aber wie genau funktioniert der...kannste mal nen Beispiel geben?

Z.B.: Ich habe ne Datei namens Datei die ist in dem Verzeichnis X:\Test1 und sie soll nach X:\Test2

Vllt. kannste da ja gerade mal die Befehle zu hinschreiben...
 
Moves files and renames files and directories.

To move one or more files:
MOVE [/Y | /-Y] [drive:][path]filename1[,...] destination

To rename a directory:
MOVE [/Y | /-Y] [drive:][path]dirname1 dirname2

[drive:][path]filename1 Specifies the location and name of the file
or files you want to move.
destination Specifies the new location of the file. Destination
can consist of a drive letter and colon, a
directory name, or a combination. If you are moving
only one file, you can also include a filename if
you want to rename the file when you move it.
[drive:][path]dirname1 Specifies the directory you want to rename.
dirname2 Specifies the new name of the directory.

/Y Suppresses prompting to confirm you want to
overwrite an existing destination file.
/-Y Causes prompting to confirm you want to overwrite
an existing destination file.

The switch /Y may be present in the COPYCMD environment variable.
This may be overridden with /-Y on the command line. Default is
to prompt on overwrites unless MOVE command is being executed from
within a batch script.

steht doch alles drin was du dazu wissen musst.

move [pfad]datei ziel

d.h. move x:\test1\* x:\test2\
 
zum Beispiel: move X:\Test1\abc.txt X:\Test2\
 
Warum steht "doch" alles drin wo stand das denn schon..??
 
Zurück
Oben