View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0007616 | MMW v4 | Framework: Scripts/Extensions | public | 2011-03-31 21:47 | 2011-05-24 00:11 |
| Reporter | peke | Assigned To | |||
| Priority | high | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 4.0 | ||||
| Summary | 0007616: MoveFile: Moving to Short path filename should not prompt for Overwrite | ||||
| Description | These 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 Information | http://www.mediamonkey.com/forum/viewtopic.php?f=19&t=56858 | ||||
| Tags | No tags attached. | ||||
| Fixed in build | 1366 | ||||
|
|
Note that a DUnit test for this would be useful. |
|
|
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. |
|
|
Verified 1378 |