Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Generic User Avatar

Copy, paste batch file


  • Please log in to reply
2 replies to this topic

#1 k77996

k77996

  •  Avatar image
  • Members
  • 53 posts
  • OFFLINE
  •  
  • Local time:11:38 PM

Posted 11 November 2008 - 02:31 AM

Hi, I am wondering if there is any way to write a batch program to copy and paste a file from one place to another.
I play cs 1.6, and to have the custom spray, i have to put my tempdecal.wad file into my cstrike folder every time to have it there.

If there is any way that i can move this file to the folder with just a batch file, or maybe a c++ program, it would really help me out. I have to open my C:\programfiles\steam\steamapps\ect. every time to copy and paste my file in it.
Thanks. =)

BC AdBot (Login to Remove)

 


#2 KamakaZ

KamakaZ

  •  Avatar image
  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:38 PM

Posted 11 November 2008 - 05:11 AM

create a new notepad document,

type in:

xcopy [source file eg: "C:\documents and settings\test"] [destination directory eg: "C:\test"]

save it as

filename.bat and change the file type to all files and save in a suitable place.

good luck

#3 KamakaZ

KamakaZ

  •  Avatar image
  • Members
  • 739 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:05:38 PM

Posted 12 November 2008 - 09:40 PM

If you need anymore help with this, try having a look at this http://www.computerhope.com/batch.htm

Hope this helps.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users