Hi, Just trying to copy a file from one location to another like this. #snip1 system ("copy c:\msg.txt c:\sandeep\msg.txt"); #end
which works fine. But how can i give it a dynamic file name say like... #snip2 $vfilename="TestFile.txt"; system ("copy c:\msg.txt c:\sandeep\$vfilename"); #end this does not work (i mean it does create a file called $vfilename), but that is not what i want... It should create a file called "TestFile.txt" This is using Perl on Win-NT Thanks, Sandeep ********************************************************************** COLT Telecommunications Registered in England No. 2452736 Registered Office: Bishopsgate Court, 4 Norton Folgate, London E1 6DQ Tel. 020 7390 3900 This message is subject to and does not create or vary any contractual relationship between COLT Telecommunications, its subsidiaries or affiliates ("COLT") and you. Internet communications are not secure and therefore COLT does not accept legal responsibility for the contents of this message. Any view or opinions expressed are those of the author. The message is intended for the addressee only and its contents and any attached files are strictly confidential. If you have received it in error, please telephone the number above. Thank you. ************************************************************************ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]