How to make a batch file copy itself?

Let’s learn how to make a batch file copy itself. The most accurate or helpful solution is served by Yahoo! Answers.

There are ten answers to this question.

Best solution

How can i make a batch file still work, but stop people opening with notepad to edit/copy my commands?

I need to send my friend a batch file, he always tries to edit and make things different and sometimes he tells people he did it himself by adding echo made by (him). Its kinda ...show more

Answer:

write it in a language like c or basic.

Read more

ZQODJ2EVBKKLCHRUAEBR46OTDQ at Yahoo! Answers Mark as irrelevant Undo

Other solutions

Answer:

Embedding a video onto a web page becomes as easy as cutting and pasting. When you visit a site that...

Read more

Daniel B. at ChaCha Mark as irrelevant Undo

How to get a batch file to copy itself?

Im already onto the basics of learn batch but couldnt figure out how to make a batch file copy itself i understand it starts with COPY then the location of the file from the drive to file location.. But whats next, i know its the destination but im still...

Answer:

The easy way I can think of is that you can use the variable %0 to refer to the name of the program...

Read more

Gamezdud... at Yahoo! Answers Mark as irrelevant Undo

Batch file to copy files to flash drive?

hi i was wondering if there was some command or a batch file i could make for my flash drive.i want to be able to put in my flash drive and open a batch file that will copy stuff from my documents to my flash drive (g:) any one know ?

Answer:

REM Copied "My Document" from current profile to location the batch file is excuted from ...

Read more

trp_waka... at Yahoo! Answers Mark as irrelevant Undo

Im trying to make a batch file with choices but its not working!!! can someone tell me how to do it?

ok so im good at this stuff but i can seem to get this one im on windows 7 beta so if that dos anything, ok heres my batch file, i just started making batch files this wendesday so its not that impressive yet.here it is... btw if you know any cool commands...

Answer:

I think choice was a Win9X tool only. The way to do it now is: set /p input=Enter a value(1,2,3) if...

Read more

joeywolf... at Yahoo! Answers Mark as irrelevant Undo

Copy files using batch file command?

Im looking to make a batch file that will copy files from a jump drive and place them in a folder on the computer. What command and syntax would I use? thanks

Answer:

If all your files are one directory then just use the copy command. If you have multiple directories...

Read more

Josh Bunzel at Yahoo! Answers Mark as irrelevant Undo

Need help with a batch file command.I need to copy files from external hardrive but the drive letter changes?

I want to make a batch file copy files from my external hardrive onto any computer but I have to have the destination of the files to be coppied in my command line.The problem is I ...show more

Answer:

This does'nt work may be u can write a program in VB or other software that is interactive i.e asks...

Read more

BQJZS3TUSP5MKELLJTCD3543CY at Yahoo! Answers Mark as irrelevant Undo

Need help making MS-DOS Batch File?

I would like to know how or if its possible to make a batch file to copy for me. I have to back up a folder daily to a USB. Say i want to back up c:\program files\adobe\folder1 into i:\folder2 Is it possible to make an MS-DOS icon to do that for me i...

Answer:

yes it is possible... copy the following code and save it to your desktop as "BackUp.bat"...

Read more

james c at Yahoo! Answers Mark as irrelevant Undo

Batch file help ??????

I'm trying to make a batch file, but it comes up with error: the syntax of the command is wrong... This is what I Entered to create it: @echo off echo Enter your Computer Account Name set /p username= echo Enter File set /p File= set way=C:\Users\%username...

Answer:

COPY %way%%File%\*. doesn't specify where your copying to. COPY %way%%File%\*. %userprofile%\desktop...

Read more

Michael at Yahoo! Answers Mark as irrelevant Undo

Help creating a batch file?

I have an MS Access file called data.accdb I want to create a batch file to create a folder called data archive At the end of folder I want the date it was created example data archive 7/21/09 And then copy the file data.accdb into this folder Tomorrow...

Answer:

Creating is easy....here is the code @echo off set drive=<<place you want to save>> set...

Read more

Tom P at Yahoo! Answers Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.