Batch Programing: Lesson 4 (How to Copy,Move and Rename files + MORE)

Batch Programing: Lesson 4 (How to Copy,Move and Rename files + MORE)


Playlist: http://www.youtube.com/playlist?list=...
Video 1: http://www.youtube.com/watch?v=kboexp...
Video 2: http://www.youtube.com/watch?v=_eQRPI...
Video 3: http://www.youtube.com/watch?v=MdcHOT...

Facebook: https://www.facebook.com/technologycrazy
Twitter: https://twitter.com/technologycrazy
Website: http://www.technologycrazy.info/

Hey technologycrazy here and today Im going to tech you how to copy,move and rename files + tips and tricks.

Notepad++: http://notepad-plus-plus.org

COMMANDS
copy "source" "destination" Example: Copy E:\Multiplay.exe C:\Users\Justin\Desktop

xcopy "source" "destination" Example:xcopy E:\Multiplay.exe C:\Users\Justin\Desktop

move "source" "destination" Example:move E:\Multiplay.exe C:\Users\Justin\Desktop
Closed Caption:

hello technology crazier and today we
will be doing less than four of the
batch series so if you haven't checked
out any other lessons please check them
out they go over all the basics of batch
programming or otherwise known as I
working in CMD today's lesson is going
to be on copying and moving files and
folders we're also gonna be covered in
some really cool tips and tricks to help
you guys make really cool programs so
I'll please sit back and enjoy
ok so before you start want to let you
guys know that I'm going to be using a
program called notepad plus plus which
is basically notepad on steroids
it's a free program links will be in the
description i highly recommend that you
use it but of course you can also use
notepad so all the code will be in the
description just in case you want to
copy it
so what's the difference between copying
and moving file basically copying &
duplicating the file moving is actually
moving where you the file is so if I
were to copy this to the desktop it
duplicated it far to move it
actually let me copy of the desktop hard
to move into this folder over here it
would actually uh go from the desktop
into the folder so that's the difference
between a copy moving thanks to keep in
mind while using these commands so to
start off let's go with a deco off and
then let's use the copy command copy
command works like this we type in copy
we check the source and we type in the
destination so the sources the file or
folder that you want to copy
that's right click on the my program
right here i want to copy its final
location here which is under which is
correct we can also go up here and you
can find out it's under eat and it's
called multipla dot exe just like that
and the destination is where we want to
copy the file to so in this case the
desktop so let's just click on anything
on the desktop here we find out that the
desktop is c / users / justice last just
stopped just like that that's all we
have to do
let's pause it and run it here would say
one file copied and it did copied over
the desktop if you want to move a file
very very similar use type move like
that run it will move it from the USB
onto the desktop
ok so let's let's have a little bit more
fun we can actually use it something
called xcopy which is a lot more cool
than copy last us to do a whole bunch
more features now we're actually have a
look at it in the CMD here so if we go
and type in X copy / ? it will list all
the different switches and everything
for xcopy it's also go and find the copy
command troops that was a fail
just like that notice that coffee
doesn't have as many switches can do as
much as a copy which is built into
windows as well it has the ability to
call the folders directories all these
really cool things
even has the ability to find the newest
files and just copy the news files
that's really cool so go and check out
the ex-cop it's a lot better i
recommended there's there's some
disadvantages i'll show you how to get
around that
so if we run the program here will copy
the desktop we run it again it will ask
us if we want to overwrite the file and
that is normally a really good idea
let's say you were making a program you
could actually over a desktop or a whole
folder maybe even system32 by accident
so it is a good feature but once you've
perfected your code you don't want that
a way to turn this off is using the why
switch which is what i found in CMD by
typing next copy / ? i was able to find
that why will suppress the overwrite so
if we run this year now didn't ask us to
overrate just automatically over so
that's really cool let's combine our
knowledge to mixing a little more cool
but first let's cover one really
important thing if you want to run this
program more than one computer it's
really important to make this Universal
so for example of our to run this on my
sister's computer per user name is not
justin so it will definitely not work
easy way to get by this is used two
percent signs and type in username this
works anytime you need the user of the
of the person that's using the computer
so for example here you'll replace
username with the current user and to
just double-check this let's type in
echo and username just like that so copy
the file to the desktop and also type it
also echoed the user name that's logged
on right now which it worked here it
says one file copied and it says justin
and actually did copy so that's all good
another really cool thing is that they
were using USB copy files onto multiple
different computers your USB night that
might not always show up Izzy one easy
way to fix that is to go two percent
science and then CD which is current
directory which you can use for programs
to it will basically use the current
directory that this program is running
in so you can see here that video . bat
is actually running under e so we'll
take e and replace it with this right
here which is exactly what we want we
can run that and you can see here that
it actually ran e multi-play DFC now
let's combine all our knowledge to make
a really cool program that might be
actually useful to you
I in summary i had to install home to
programs on a whole bunch of laps
Pop's so the easiest way to this was
make a really some program that will
copy all the programs i needed onto the
desktop and start them and then when
they are done i delete them
so how i did this is I used xcopy then I
did a start command i started the
program that we just copied to the
desktop just like this and i used a
multiplayer you see so now basically
copy to the desktop and starts let's try
that
so copied and started the program now at
this point i could actually remove my
USB and it will run now after i wanted
also to delete it so let's say I did del
for delete and let's delete the file
here he won't actually work and the
reason why is because it's actually
running the program while is trying to
lead it which won't work
the easy way around this is instead
start let's use line called call which
will basically call the program into
this program and all basically wait for
this program to finish and then go to
the next line of code so wait for
multiplayer exe to terminate and then
move on and then delete it so which is
what we want to do so
oops i type steps there okay so it's
running i notice that the program is
actually paused while multipla is
running and as soon as we close it here
will continue and it will delete the
file so i guess that concludes this
video please comment rate subscribe
another really cool thing before I and
actually if you want to rename a file
you can actually use move and let's say
we're to do you can actually written
move follows you can actually rename a
file by moving it so I could do this
which is saying good to note and it will
actually it renamed this file right here
so it's like you know it was I guess
that concludes this video please comment
rate subscribe and check out my other
batch videos and I'll make more in the
future anyways that I guess that's all
from technology crazy
goodbye

Video Length: 06:55
Uploaded By: Technologycrazy
View Count: 92,969

Related Software Products
Rename Files
Rename Files

Published By:
Haizon Corporation

Description:
Rename Files - want to Rename Files? How to rename files automatically? Rename files on computer and batch rename files on hard drives, automatically rename files in any folder and bulk rename files in the directory you specified. Rename files - Download software to batch rename files at RenameFiles.net !BRBR How to rename files? Want to rename files automatically? Batch rename files with the file renaming tool. This software to rename files can bulk rename files on the Windows computer ...

Rename File
Rename File

Published By:
Haizon Corporation

Description:
Rename File - How to Rename File? What is the best way to rename file? Rename multiple files with the best file renaming software. This program is designed to rename file of any type, automatically rename file in any bolder, batch rename file and just rename multiple files.BRBR All files will be organized, sorted and renamed to be in ideal order with the best file renaming software. Batch rename files, rename multiple files and rename file in batch mode with batch file renamer. All files ...


Related Videos
www.LongPathTool.com - Delete / Rename / Copy / Unlock long path files / folders
www.LongPathTool.com - Delete / Rename / Copy / Unlock long path files / folders

http://LongPathTool.com Do you have error messages?, like : Path too long. Error cannot delete file: cannot read from source file or disk Cannot delete file: Access is denied There has been a sharing violation. Cannot delete file or folder The file name you specified is not valid or too long. Specify a different file name. The source or destination file may be in use. The file is in use by another program or user. Error Deleting File or ...
Video Length: 03:31
Uploaded By: TheLeeTun
View Count: 179,043

Fix "_except_handler4_common" file problem Easy
Fix "_except_handler4_common" file problem Easy

res a tutorial to how to fix " the procedure point / entry _except_handler4_common could not be located in the dynamic link library msvcrt.dll" problem when starts windows or some program 1) go to C:/WINDOWS/System32 2) find and rename file "dwmapi.dll" to "dwmapi.dll_old" if u cant rename to that just go to in folder menu : Tools \ Folder Options \ View \ scrool down and uncheck " Hide extensions for known file types " and you'll do it. if you ...
Video Length: 05:22
Uploaded By: sundowave
View Count: 161,480

FileBot TV Renamer Tutorial
FileBot TV Renamer Tutorial

Check out how to efficiently rename and organize your tv show or movie files using FileBot. Just watch the first 30 seconds and you're good to go. http://www.filebot.net/ Here's the testdata used in the screencast: http://rednoah.users.sourceforge.net/... If you have issues with badly named files you should really check this one out as well: http://www.youtube.com/watch?v=OJca0i... Feel free to make your own video tutorial on how to use FileBot... sure ...
Video Length: 13:07
Uploaded By: Reinhard Pointner
View Count: 140,166

How to Tag and Rename Music Automatically For Free (MyTechAdventures.com)
How to Tag and Rename Music Automatically For Free (MyTechAdventures.com)

This short video will show you how to correctly tag and rename thousands of songs in less than 10 minutes using the cross-platform MusicBrainz Picard. The best part is that its free! Relevant Links: http://musicbrainz.org/doc/MusicBrain... http://acoustid.org/chromaprint#download (fpcalc) http://acoustid.org/api-key (acoustic-id API key) Questions? Follow us @MyTechAdventure on twitter BACK UP YOUR LIBRARY BEFORE STARTING! hr ...
Video Length: 02:51
Uploaded By: My Tech Adventures
View Count: 122,676

MusicBrainz Picard - Auto ID3 Tag Rename & Cover Art - Linux Mint 8
MusicBrainz Picard - Auto ID3 Tag Rename & Cover Art - Linux Mint 8

install picard http://musicbrainz.org/doc/MusicBrain... MusicBrainz Picard is a cross-platform (Linux/Mac OS X/Windows) application written in Python and is the official MusicBrainz tagger. Picard supports the majority of audio file formats, is capable of using audio fingerprints (PUIDs), performing CD lookups and disc ID submissions, and it has excellent Unicode support. Additionally, there are several plugins available that extend Picard's features. When ...
Video Length: 08:36
Uploaded By: gotbletu
View Count: 108,478

Shell Scripting Tutorial-6: Rename & Delete Files & Directories
Shell Scripting Tutorial-6: Rename & Delete Files & Directories

In this tutorial you'll learn to rename files using 'mv' command and you'll also learn to delete files and directories using 'rm' and 'rmdir' Official Facebook Page: http://www.facebook.com/TheBadTutorials hr / bClosed Caption:/b hello guys my name is mother and welcome to my channel this is the sixth tutorial in the series of tutorials on unix shell programming in this tutorial will be checking out the MV command which is ...
Video Length: 04:37
Uploaded By: The Bad Tutorials
View Count: 103,016

Mac Tips:(Automator Tutorial) How to rename multiple files in OS X.
Mac Tips:(Automator Tutorial) How to rename multiple files in OS X.

How to rename multiple files in OS X. Follow me on twitter: http://bit.ly/Hs4Zmn hr / bClosed Caption:/b she was so this is a video to show you guys how to use or two meter to rename files now as you all know renaming files can be hassle yet to go to a and then click on a and rename each possible the ACO 19 pictures hand to remain love them one by one would take me agents so there's a quickly ...
Video Length: 03:22
Uploaded By: readthename
View Count: 97,884

How to Rename and Delete Files with Long Names on Windows 7, 8, 8.1, 10  using Winrar or 7Zip
How to Rename and Delete Files with Long Names on Windows 7, 8, 8.1, 10 using Winrar or 7Zip

Easiest way to rename files with long names if you get the error "The file name(s) would be too long for the destination folder. You can shorten the file name and try again, or by a location that has a shorter path." You can Rename file from a winrar and then delete it normally. ************************************************************************** If you liked this video, make sure you subscribe to my YouTube channel right here: ...
Video Length: 01:41
Uploaded By: GreedyTech
View Count: 92,402

How to rename a file or folder with one click in Mac OS X Lion
How to rename a file or folder with one click in Mac OS X Lion

Lion - http://bit.ly/pnaqZb | Written instructions - http://bit.ly/nDrMmo How to rename a file or folder with one click in Mac OS X Lion hr / bClosed Caption:/b hey guys it's brian with Apple headlines I found a neat little trick to rename files with one mouse click is kinda useful obviously if you need to rename a file real quick you could there's many ways to do this but this is a way I found to do it in one ...
Video Length: 01:30
Uploaded By: AppleHeadlinesdotcom
View Count: 71,221

How to Rename a Song in Android / Galaxy S4
How to Rename a Song in Android / Galaxy S4

How to rename a song in most Android platforms. hr / bClosed Caption:/b hey everybody out there in YouTube land doing another video i just got a new samsung galaxy s4 i traded out when i broke my motorola droid razr maxx how I broke it just a little bit of advice what you don't want to do is ever try to clean out your little on micro USB terminal using like rubbing alcohol a q-tip like you do with your 3.5br ...
Video Length: 03:45
Uploaded By: Ron Gaitten
View Count: 54,025

Copyright © 2025, Ivertech. All rights reserved.