Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using xcopy in a perl script

Status
Not open for further replies.

newperluser

Programmer
Feb 11, 2007
3
US
Does anyone know how I can use xcopy in a perl script? I have a file I'd like to make a copy and save it to a different location (several different servers actually). In a cmd file I've used something like:
xcopy filename.txt \\newlocation\filename.txt

Very simple, but I can't seem to find a good example anywhere.

Thanks for any help in advance!


 
system("xcopy arguments");

------------------------------------------
- Kevin, perl coder unexceptional! [wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top