Sorry if i should know this.
I want to change this batch file to "cut" instead of "copy"
copy /y C:\Users\AbramsM\Downloads\etc........
Thank you very much.
Michael
BATCH FILE CODE CUT NOT COPY
-
- PlatinumLounger
- Posts: 5411
- Joined: 24 Jan 2010, 08:33
- Location: A cathedral city in England
Re: BATCH FILE CODE CUT NOT COPY
You shouldn't know it, because CUT is not a command.
Do you mean MOVE?
Alternatively, what are you trying to do?
Do you mean MOVE?
Alternatively, what are you trying to do?
Last edited by John Gray on 23 Jan 2019, 20:22, edited 1 time in total.
John Gray
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
"(or one of the team)" - how your hospital appointment letter indicates that you won't be seeing the Consultant...
-
- Administrator
- Posts: 78535
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: BATCH FILE CODE CUT NOT COPY
Use the move command instead of the copy command.
Best wishes,
Hans
Hans
-
- 4StarLounger
- Posts: 574
- Joined: 10 Feb 2010, 17:32
Re: BATCH FILE CODE CUT NOT COPY
Of course - just fine - thank you both !
-
- 4StarLounger
- Posts: 574
- Joined: 10 Feb 2010, 17:32
Re: BATCH FILE CODE CUT NOT COPY
DISREGARD BELOW
As usual, user(me) error. It works perfectly.
move /y C:\Users\AbramsM\Downloads\etc........
didn't work - sorry about that - do I need to change the /y?
I am moving a file from C:\Users\AbramsM\Downloads to another location
As usual, user(me) error. It works perfectly.
didn't work - sorry about that - do I need to change the /y?
I am moving a file from C:\Users\AbramsM\Downloads to another location
-
- GoldLounger
- Posts: 2599
- Joined: 24 Jan 2010, 15:26
- Location: Olympia, WA
Re: BATCH FILE CODE CUT NOT COPY
Remember that any "Move" or "Cut" can be very dangerous.
I always use copy and the delete when I know the file(s) have been copied.
I always use copy and the delete when I know the file(s) have been copied.
I am so far behind, I think I am First
Genealogy....confusing the dead and annoying the living
Genealogy....confusing the dead and annoying the living
-
- 4StarLounger
- Posts: 574
- Joined: 10 Feb 2010, 17:32
Re: BATCH FILE CODE CUT NOT COPY
Good advice DaveA - in this particular case, I am actually moving a copy of the files. The originals are on another server.
But if I am moving live files, I will need to use copy/delete.
This place is fantastic !
Michael
But if I am moving live files, I will need to use copy/delete.
This place is fantastic !
Michael