{"action":"created","issue":{"url":"https://api.github.com/repos/andrewning/sortphotos/issues/62","labels_url":"https://api.github.com/repos/andrewning/sortphotos/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/andrewning/sortphotos/issues/62/comments","events_url":"https://api.github.com/repos/andrewning/sortphotos/issues/62/events","html_url":"https://github.com/andrewning/sortphotos/issues/62","id":110510190,"number":62,"title":"Under windows % options are wrongly interpreted when using batch files","user":{"login":"nekopep","id":2825997,"avatar_url":"https://avatars.githubusercontent.com/u/2825997?v=3","gravatar_id":"","url":"https://api.github.com/users/nekopep","html_url":"https://github.com/nekopep","followers_url":"https://api.github.com/users/nekopep/followers","following_url":"https://api.github.com/users/nekopep/following{/other_user}","gists_url":"https://api.github.com/users/nekopep/gists{/gist_id}","starred_url":"https://api.github.com/users/nekopep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekopep/subscriptions","organizations_url":"https://api.github.com/users/nekopep/orgs","repos_url":"https://api.github.com/users/nekopep/repos","events_url":"https://api.github.com/users/nekopep/events{/privacy}","received_events_url":"https://api.github.com/users/nekopep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-08T18:07:17Z","updated_at":"2015-10-08T18:23:17Z","closed_at":null,"body":"Hello andrew,\r\nI've put the script in a bat file under windows and had to put %% instead of % to specify month/years etc, because % character is reserved for batch vars. (ex: %M%H%m -> %%M%%H%%m)\r\nSince, it can be a useful feature to use with .bat file (tell user to click and it sorts), what other symbol can be used or which symbol do you think could be ok?\r\nIs it acceptable for example to allow % and $ doing a .replace('$','%') on these parameters?\r\n\r\nLaurent"},"comment":{"url":"https://api.github.com/repos/andrewning/sortphotos/issues/comments/146644854","html_url":"https://github.com/andrewning/sortphotos/issues/62#issuecomment-146644854","issue_url":"https://api.github.com/repos/andrewning/sortphotos/issues/62","id":146644854,"user":{"login":"nekopep","id":2825997,"avatar_url":"https://avatars.githubusercontent.com/u/2825997?v=3","gravatar_id":"","url":"https://api.github.com/users/nekopep","html_url":"https://github.com/nekopep","followers_url":"https://api.github.com/users/nekopep/followers","following_url":"https://api.github.com/users/nekopep/following{/other_user}","gists_url":"https://api.github.com/users/nekopep/gists{/gist_id}","starred_url":"https://api.github.com/users/nekopep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nekopep/subscriptions","organizations_url":"https://api.github.com/users/nekopep/orgs","repos_url":"https://api.github.com/users/nekopep/repos","events_url":"https://api.github.com/users/nekopep/events{/privacy}","received_events_url":"https://api.github.com/users/nekopep/received_events","type":"User","site_admin":false},"created_at":"2015-10-08T18:23:17Z","updated_at":"2015-10-08T18:23:17Z","body":"Ha yeah, I didn't saw this one, it just an habit on windows :) never use / in command line :)\nI think python has functions to workaround these corner case, something like normalize_path, woll take a look at it.\n\n\n> Le 8 oct. 2015 à 20:19, andrewning <notifications@github.com> a écrit :\n> \n> Oh, and issue #57 <https://github.com/andrewning/sortphotos/issues/57>, it was reported that Windows may have a problem with \\ needing to be placed by \\ (see here <http://stackoverflow.com/questions/32431521/how-to-run-python-module-andrewning-sortphotos-in-windows>). I've not had a chance to find a Windows computer to verify, but that might be a good change to add to your bat file.\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/andrewning/sortphotos/issues/62#issuecomment-146643903>.\n> \n\n"}}