{"action":"created","issue":{"url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/49","labels_url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/49/comments","events_url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/49/events","html_url":"https://github.com/Lexikos/AutoHotkey_L/issues/49","id":119957838,"number":49,"title":"The cmd.exe runned by AHK can't run some command","user":{"login":"mercury233","id":13391795,"avatar_url":"https://avatars.githubusercontent.com/u/13391795?v=3","gravatar_id":"","url":"https://api.github.com/users/mercury233","html_url":"https://github.com/mercury233","followers_url":"https://api.github.com/users/mercury233/followers","following_url":"https://api.github.com/users/mercury233/following{/other_user}","gists_url":"https://api.github.com/users/mercury233/gists{/gist_id}","starred_url":"https://api.github.com/users/mercury233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercury233/subscriptions","organizations_url":"https://api.github.com/users/mercury233/orgs","repos_url":"https://api.github.com/users/mercury233/repos","events_url":"https://api.github.com/users/mercury233/events{/privacy}","received_events_url":"https://api.github.com/users/mercury233/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-02T14:50:59Z","updated_at":"2015-12-03T02:41:21Z","closed_at":"2015-12-03T02:35:00Z","body":"I'm using AHK v1.1.22.09 on win7x64sp1.\r\n\r\nWhen I run cmd in ahk script, the commandline window works weirdly. It can't run some system commands such as \"bcdedit\".\r\n\r\n![image](https://cloud.githubusercontent.com/assets/13391795/11533685/f9e0b8a6-9945-11e5-979c-c8b6e1c04ee6.png)\r\n\r\nIt looks like the PATH environment variable was corrupted, but other cmd.exe runned by WIN+R works well, and PATH don't appear to be wrong. I navigated to system32, but bcdedit still can't run.\r\n\r\nSome programs could be used, such as taskmgr, taskkill.\r\n\r\nBTW, the taskmgr runned by the \"weird\" cmd can't show some progress's commandline."},"comment":{"url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/comments/161499244","html_url":"https://github.com/Lexikos/AutoHotkey_L/issues/49#issuecomment-161499244","issue_url":"https://api.github.com/repos/Lexikos/AutoHotkey_L/issues/49","id":161499244,"user":{"login":"mercury233","id":13391795,"avatar_url":"https://avatars.githubusercontent.com/u/13391795?v=3","gravatar_id":"","url":"https://api.github.com/users/mercury233","html_url":"https://github.com/mercury233","followers_url":"https://api.github.com/users/mercury233/followers","following_url":"https://api.github.com/users/mercury233/following{/other_user}","gists_url":"https://api.github.com/users/mercury233/gists{/gist_id}","starred_url":"https://api.github.com/users/mercury233/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mercury233/subscriptions","organizations_url":"https://api.github.com/users/mercury233/orgs","repos_url":"https://api.github.com/users/mercury233/repos","events_url":"https://api.github.com/users/mercury233/events{/privacy}","received_events_url":"https://api.github.com/users/mercury233/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T02:41:21Z","updated_at":"2015-12-03T02:41:21Z","body":"Thanks, `Run %windir%\\Sysnative\\cmd.exe` works."}}