{"id":2176,"date":"2019-12-11T17:36:56","date_gmt":"2019-12-11T14:36:56","guid":{"rendered":"https:\/\/www.about1c.ru\/v77\/?p=2176"},"modified":"2020-09-18T14:17:18","modified_gmt":"2020-09-18T11:17:18","slug":"method-get-current-directory","status":"publish","type":"post","link":"https:\/\/www.about1c.ru\/v77\/language-reference\/complex-data-types\/file-system\/method-get-current-directory","title":{"rendered":"\u0424\u0421 (\u0424\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430)<br\/>\u041c\u0435\u0442\u043e\u0434 \u0422\u0435\u043a\u041a\u0430\u0442\u0430\u043b\u043e\u0433()"},"content":{"rendered":"<p>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u043a \u0442\u0435\u043a\u0443\u0449\u0435\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<br \/>\n<!--more--><\/p>\n<h2>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441<\/h2>\n<p>\u041c\u0435\u0442\u043e\u0434 <code>\u0422\u0435\u043a\u041a\u0430\u0442\u0430\u043b\u043e\u0433()<\/code>\u00a0\u0438\u043c\u0435\u0435\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n<pre class=\"syntax\">\u0441\u0442\u0440\u043e\u043a\u0430 \u0422\u0435\u043a\u041a\u0430\u0442\u0430\u043b\u043e\u0433()<\/pre>\n<p>\u0410 \u0442\u0430\u043a\u0436\u0435 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0439 \u0430\u043d\u0433\u043b\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441:<\/p>\n<pre>string GetCurrentDirectory()<\/pre>\n<h2>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b<\/h2>\n<p>\u041c\u0435\u0442\u043e\u0434 <code>\u0422\u0435\u043a\u041a\u0430\u0442\u0430\u043b\u043e\u0433()<\/code> \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u0444\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432.<\/p>\n<h2>\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435<\/h2>\n<p style=\"text-align: justify;\">\u041c\u0435\u0442\u043e\u0434 <code>\u0422\u0435\u043a\u041a\u0430\u0442\u0430\u043b\u043e\u0433()<\/code> \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u043a \u0442\u0435\u043a\u0443\u0449\u0435\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b. \u0412 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0432\u044b\u0437\u043e\u0432 \u043c\u0435\u0442\u043e\u0434\u0430 <a href=\"http:\/\/www.about1c.ru\/v77\/language-reference\/complex-data-types\/file-system\/method-set-current-directory\">\u0424\u0421.\u0423\u0441\u0442\u0422\u0435\u043a\u041a\u0430\u0442\u0430\u043b\u043e\u0433()<\/a> \u043d\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043b\u0441\u044f, \u0442\u0435\u043a\u0443\u0449\u0438\u043c \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<h2>\u041f\u0440\u0438\u043c\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f<\/h2>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u043a\u043e\u0434\u0430 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043c\u0435\u0442\u043e\u0434\u0430 <code>\u0422\u0435\u043a\u041a\u0430\u0442\u0430\u043b\u043e\u0433()<\/code>:<\/p>\n<pre class=\"code\"><span style=\"color:green\">\/\/\u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u0437\u043e\u0432<\/span>\r\n<span style=\"color:red\">\u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c<\/span><span style=\"color:red\">(<\/span><span style=\"color:red\">\u0424\u0421<\/span><span style=\"color:red\">.<\/span>\u0422\u0435\u043a\u041a\u0430\u0442\u0430\u043b\u043e\u0433<span style=\"color:red\">()<\/span><span style=\"color:red\">)<\/span><span style=\"color:red\">;<\/span>\r\n<span style=\"color:green\">\/\/C:\\TEMP\\DB\\USERDATA\\\u0410\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440<\/span>\r\n<span style=\"color:red\">\u0424\u0421<\/span><span style=\"color:red\">.<\/span>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c<span style=\"color:red\">(<\/span><span style=\"color:black\">\"C:\\TEMP\\DB\"<\/span><span style=\"color:red\">)<\/span><span style=\"color:red\">;<\/span>\r\n<span style=\"color:red\">\u0421\u043e\u043e\u0431\u0449\u0438\u0442\u044c<\/span><span style=\"color:red\">(<\/span><span style=\"color:red\">\u0424\u0421<\/span><span style=\"color:red\">.<\/span>\u0422\u0435\u043a\u041a\u0430\u0442\u0430\u043b\u043e\u0433<span style=\"color:red\">()<\/span><span style=\"color:red\">)<\/span><span style=\"color:red\">;<\/span>\r\n<span style=\"color:green\">\/\/C:\\TEMP\\DB<\/span>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043f\u0443\u0442\u044c \u043a \u0442\u0435\u043a\u0443\u0449\u0435\u043c\u0443 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"class_list":["post-2176","post","type-post","status-publish","format-standard","hentry","category-file-system"],"_links":{"self":[{"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/posts\/2176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/comments?post=2176"}],"version-history":[{"count":2,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/posts\/2176\/revisions"}],"predecessor-version":[{"id":2386,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/posts\/2176\/revisions\/2386"}],"wp:attachment":[{"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/media?parent=2176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/categories?post=2176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.about1c.ru\/v77\/wp-json\/wp\/v2\/tags?post=2176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}