Forum Discussion
joffre
14 years agoRegular Contributor
Still not working.
Keeps creating a new folder and pasting the old one inside of it.
Sub Teste2
Const Path = "D:\Scripts\Scripts"
Call aqFileSystem.RenameFolder(Path&"\01 - LGComponentes", Path&"\1.LGComponentes")
Call aqFileSystem.RenameFolder(Path&"\1.LGComponentes\SQL Server", Path&"\1.LGComponentes\SQLServer")
Call aqFileSystem.RenameFile(Path&"\1.LGComponentes\SQLServer\1.LGComponentes_CREATE_SQL_SERVER.sql", Path&"\1.LGComponentes\SQLServer\1.SQL")
Log.Message("Folder 1.LGComponentes renamed")
End Sub
Keeps creating a new folder and pasting the old one inside of it.