answersLogoWhite

0


Best Answer

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

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

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

How do you move files to a directory in Linux?

mv file /path/to/directory


How do i transfer one file to another?

To transfer one file to another you have to establish a connection. Once you identify your target files, simply click on the move option to transfer the files.


What is exporting files?

When you move files from one program to another what you doing is exporting the file from one program and importing it into the other program


Blaire is attempting to move one file into a new folder that contains another file with the same name and extension. How can she store both of these files in the same folder?

rename one of the files


Why do I receive the message when I try to move files you cannot move the file because the file name is too long?

i would think thats simply because the name is too long. reaname the file


Which command is used to move a file?

The command MV is used to move a file in simple Linux Code. This command will move files and directories from one spot to another spot. To move a file, one would simply type in the letters MV before its name.


Can you rename files in a compressed folder?

Yes, Windows should automatically uncompress the file when you attempt the move the file somewhere else.


What is the difference between .file and ..file in Unix?

Neither are actually files. They are references to directories, the current one and the parent directory, respectively. They can be used in file copy and move operations in place of explicitly printing the directory names. For instance:mv ./* ..would move all files from the child directory into it's parent.


Were do red blood cells move files?

Red blood cells move in single file in the capillaries. This movement maximizes diffusion.


Do mp3 players use ZIP files?

Usually mp3 players don't support this type of file. If you have a zip file that contains music that you want, you can open it on your computer and move the files somewhere out of the zip file. From here, you can add them to you mp3.


How do you move files in winrar?

right click on the file you want to move inside winrar then click add to rar, Or if you want to be remove outside winrar right on file then click extract.


How do you erase of file from your hard drive?

Deleting a file differs between Operating Systems. One can use the delete key on the keyboard. In GUI-based Operating Systems one can use the delete menu item, delete button, delete icon. One can also drag-and-drop or move files to the delete or trash folder. Text-based commands also exist that also delete files. Text-based commands can be added to scripts or batch files. There are also utilities that securely deletes files by overwriting them several times before deletion.