Total Commander Forum Index Total Commander
Форум поддержки пользователей Total Commander
Сайты: Все о Total Commander | Totalcmd.net | Ghisler.com | RU.TCKB
 
 RulesRules   SearchSearch   FAQFAQ   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Single Post  Topic: Переименование файлов при перемещении в другую папку 
Author Message
Batya



PostPosted: Mon Aug 06, 2007 14:20    Post subject: Reply with quote

Например, так:
Code:

FSO.GetFile(NewFilePath & "\" & FileName).Name = FSO.GetBaseName(NewFilePath & "\" & FileName) & ".txt"


Хотя, в твоем случае проще для метода MoveFile вторым параметром указывать не просто путь, а путь с новым именем файла.
View user's profile Send private message


Powered by phpBB © 2001, 2005 phpBB Group