Forum Discussion
joffre
14 years agoRegular Contributor
Thanks Robert.
I'm using this simple code and it isn't renaming properly. It creates a new folder named SQLServer and pastes the "SQL Server" folder inside of it.
I've tried this way too:
And the same problem happens.
----
Call aqFileSystem.RenameFolder("C:\SQL Server", "C:\SQLServer")I'm using this simple code and it isn't renaming properly. It creates a new folder named SQLServer and pastes the "SQL Server" folder inside of it.
I've tried this way too:
Path = "C:"
Call aqFileSystem.RenameFolder(Path&"\SQL Server", Path&"\SQLServer")
And the same problem happens.
----
Not long ago in this topic you showed me how to count itens inside of a file. It worked perfectly on the first 10 files. And then, with no reason, it just stop counting in a file, and, on the 12th file it counts correctly again. So, I separated the code from my sub and tested that file alone, and it counted normally.
Any idea about why it happens?