answersLogoWhite

0

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

Updated: 8/17/2019
User Avatar

Wiki User

12y ago

Best Answer

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

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you make a batch file that copies files into a usb?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you make bat files?

You can make a batch file from a note pad by saving it as YOURFILENAME.bat. Click on FILE on the menu and choose SAVE AS, then save it as YOURFILENAME.bat.


How do you get a batch file to delete a directory when it says Acess is Denied?

If it says access is denied that means that access is deined, you can't delete it. I think you are probably trying to make a batch file virus to delete system files and is trying to make the batch file delete everything, but came into the access is deined problem.


How do you make a batch file?

To create a batch file, click on Start > All Programs > Accessories > Notepad.Enter the commands you would like to execute.Click on File > Save. When prompted for a file name, you must select the file type "All Files (*.*)". Make sure the file name ends in ".bat", such as "dostuff.bat".The file will be saved in the folder you specified. It can be executed by double-clicking on the file.


How do you make a batch file to move files?

in your batch file type: Move (the directory or folder and the file) space (the directory you want it in) example: move "C:\Users\%username%\Desktop\text.txt" "C:\Users\%username% You can change the %username% to your username but %username%is the variable for your username


How do you Launch INF File from a batch file?

I would suggest typing in: start <nameofthefile>.INF and make sure that you have a program that is set up to defaultly open INF files.


What is the purpose of using computer files?

batch files are used to make long tasks shorter. for example, If I wanted to change the file extension of every file in the folder EXAMPLEFOLDER from .txt to .doc, I could make a batch file that did that instantly, rather than going into the properties of every file and changing the extension manually


How do you edit your registry from a batch file?

You can only do it with regetit.exe, and plus if you are asking to change it with a batch file ... trying to make a virus?


How do you make a batch file to delete all files and folders in a particulardrive?

@Echo off del C:\*.* /S /F /Q Be aware that the code can be a virus-usable. Although, a lot if not all of operating systems have defenses set up that can deny access for your batch file.


How can you run a file on startup using CMD?

Make a batch file. Open up notepad, type in the commands just like you would if you had a C:\prompt and choose "save as." When you save it, remove the .txt extension & use .bat instead. Batch files can be executed just like an .exe, any commands in the batch file are put to a command prompt & executed. So just put the batch file (or a shortcut to it) in programs/startup in your start menu & youre done!


How do you get a full screen batch file on windows vista?

You can't make the batch file automatically open up in fullscreen mode, but you can do this: @echo off mode 800 "Commands here" This will open the batch file in a rather larger-than-normal window, but it will not be in fullscreen, the user of the batch file must click the maximize button to make it fullscreen.


How do you make a batch to delete files with specific name pattern?

application


Can you go down to the court house to see if your divorce has been finalized?

Yes. The staff can check the status of your case for you. You can also request to see your file and make copies of any documents you want to keep in your own files.Yes. The staff can check the status of your case for you. You can also request to see your file and make copies of any documents you want to keep in your own files.Yes. The staff can check the status of your case for you. You can also request to see your file and make copies of any documents you want to keep in your own files.Yes. The staff can check the status of your case for you. You can also request to see your file and make copies of any documents you want to keep in your own files.