answersLogoWhite

0

Here's the code:

@echo off

copy "Location of Batch File" "Location to copy file into"

exit

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

How do you make a batch file that copies files into a usb?

You do this: @echo off title You are hacked by a script kiddie copy "Location to copy files into here" "Location of the USB drive and what the file's names are" exit


How do you add any file in to startup list with batch file?

You'll need to use the copy command and copy files you want to add in startup into the statup folder via the batch file, but you need to list the file(s) you want to copy and map the location of the startup folder depending on your computer type.


How do you use batch files to copy files from the same folder as the batch file?

Ah, darling, it's as easy as pie. Just whip up a batch file with the command "copy %~dp0*.* destination_folder" and voilà, you're all set to copy those files from the same folder. No need to break a sweat, it's a piece of cake!


What is a batch file?

A batch file is the text file that contains a series of commands that MS-DOS carries out. A batch file is created by COPY CON command after specifying a file name by using extension as .BAT in DOS mode.


When you move a file a copy of the file remains in the original location?

When you move a file, the file is physically transferred to a new location. There is no copy left in the original location, only the file in its new destination. If you want to keep a copy in the original location, you need to use the "copy and paste" function instead of the "cut and paste" function.


How do you copy and paste using a batch file?

a batch file is used to automate the running of commands at a command prompt using the program command.com or cmd.exe. There are not any default available commands that will copy to or from the clipboard. You must use a 3rd party executable and pipe (|) the results to and from it.


Is emailing a batch file that opens itself endlessly in a zip file illegal?

Yes. but not if the person receiving it asked you to send it


How do you copy a dos file from one location to another?

"copy <source> <destination>"


What is the extension of batch file?

the extension of a batch file is ".bat"


Can you have a running batch file continue in another batch file but have it running in the same spot as it was before just moving it in windows 7?

Yes you can have a running batch file continue in another batch file, by getting it to call itself with an argument. To call itself use %0 (and think it is best to use one of CALL or START (command) or maybe CMD) To analyze arguments (the first one) do code like: if %1TRICK==TRICK goto nomore rem start of do stuff


What is the difference between copying and moving files and folders?

Moving:Moving a file MOVES that file to another location, while copying creates another copy of the file to the new location and your original file remains at its original location. It is just like you take a file from your cabinet and place it in another one. It is Moving.Copying:you take a file, get a copy of it, place the original at its original place and the copy of that document to another location. it is Copying.


Your batch is not copying the file to the mapped drives?

If you are trying to copy files from a location or to a location whose name has spaces, you will need to put the " " around the location for it to work. For example: copy C:\Users\Noah\Desktop\File.txt "C:\Program Files\Folder\File.txt" or copy "C:\Users\Noah\My Music\Music.mp3" C:\Program Files\Folder\Music.mp3 OR copy "C:\Users\Noah\My Pictures\Picture.jpg" "C:\Program Files\Folder\Picture.jpg