I have a file set in this folder "C:...../users" (is not real)

I want to change the file path with code to set at "D:...../users"

how can I do that?

This will be a simple File.Move:

IO.File.Move("SourceFilePath", "DestinationFilePath")
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.