View Issue Details

IDProjectCategoryView StatusLast Update
0007616MMW v4Framework: Scripts/Extensionspublic2011-05-24 00:11
Reporterpeke Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version4.0 
Summary0007616: MoveFile: Moving to Short path filename should not prompt for Overwrite
DescriptionThese should be same and no owerwrite prompt should be shown oSongData.Path = oFSO.GetFile(oSongData.Path).ShortPath

If oSongData.Path = oFSO.MoveFile(oSongData.Path, oFSO.GetFile(oSongData.Path).ShortPath)

Additional Informationhttp://www.mediamonkey.com/forum/viewtopic.php?f=19&t=56858
TagsNo tags attached.
Fixed in build1366

Activities

jiri

2011-04-04 15:18

administrator   ~0024030

Note that a DUnit test for this would be useful.

Ludek

2011-04-20 20:09

developer   ~0024421

Last edited: 2011-04-20 21:04

in my case the following fails (because it is actually trying to move the file to itself):

Path = SDB.Tools.FileSystem.MoveFile( Path , SDB.Tools.FileSystem.GetShortPath( Path))

I guess it behaves differently because I am on Windows 7 station.

Fixed in build 1366, now the file is correctly renamed to its short path.

peke

2011-05-24 00:11

developer   ~0025603

Verified 1378