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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MoveFile and Rename Question

Status
Not open for further replies.

belstoy

Technical User
Joined
May 31, 2005
Messages
37
Location
US
I am attempting to move a file and rename it. The code I am currently trying to use is:

[My.Computer.FileSystem.MoveFile("C:\My Documents\File2*.xls", "C:\My Documents\Sales\Processed2.xls")]

I am getting a compile error.

Any thoughts?, please advise.

Belstoy
 
Hm..
looks like it is solved ---> thread222-1329494
 
Yes, problem is solved!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top