The following conditions may cause an exception: In the code snippet picker, the snippet is located in File system - Processing Drives, Folders, and Files. This code example is also available as an IntelliSense code snippet. ' Change "c:\test.txt" to the path and filename for the file that This example renames the file named Test.txt to SecondTest.txt. ![]() ![]() This method cannot be used to move a file use the MoveFile method to move and rename the file. Use the RenameFile method of the My.Computer.FileSystem object to rename a file by supplying the current location, file name, and the new file name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |