Sorry Tim, you chose a problem that looks simple, but isn't. Here's the code to move
an arbitrary file or directory:
http://language.perl.com/ppt/src/mv/mv.plx
>>> Tim Musson <[EMAIL PROTECTED]> 06/25/01 02:00pm >>>
Hey Perlers,
I asked this before, but I am still stuck, and never got a workable
solution.
Is there a way in perl to move a directory? Similar to unix "mv"
command where you move a dir to another location (I am not crossing
boundaries). I am on M$ Win2k, but the unix "mv" command is the
easiest way to describe what I need.
Yes I have tried the move feature of File::Copy. It creates the
destination directory then gives a "Permission denied" error - yes, I
have admin rights.
--
[EMAIL PROTECTED]
Using The Bat! eMail v1.53d
Windows NT 5.0.2195 (Service Pack 1)
The software said it required Windows 3.1 or better so I installed Linux.
This e-mail and any files transmitted with it are confidential
and solely for the use of the intended recipient.
ONdigital plc, 346 Queenstown Road, London SW8 4DG. Reg No: 3302715.