Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RENAME statement bombs when duplicate file encountered
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
RENAME statement bombs when duplicate file encountered
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01122737
Message ID:
01122737
Views:
46
I am moving files using RENAME statement as follows:
		k = 'V:\AS400\f1\*.*'
		l = 'I:\STAFF\DIVISION\Fiscal\Ar\Common\Reports\*.*'
		rename (k) to (l)
The problem is that it bombs if their is a duplicate file being moved. Is their another way to move files from one directory to another after renaming the duplicate file on source drive?

thanks
Nick
Next
Reply
Map
View

Click here to load this message in the networking platform