I have written a small batch file to move files from one folder to another folder. copy E:\Source\Test.tif E:\Temp
Is there any way can I renam开发者_如何学JAVAe a file name after it has been moved to temp folder.Like
E:\Source:\TestInd1.tiff.
Please suggest.
You can do a move and a rename at the same time, yes:
move someFile S:\ome\Destination\newName
精彩评论