{"id":267,"date":"2012-02-20T21:58:16","date_gmt":"2012-02-20T10:58:16","guid":{"rendered":"http:\/\/chuchuva.com\/pavel\/?p=267"},"modified":"2012-02-20T16:07:54","modified_gmt":"2012-02-20T05:07:54","slug":"far-manager-and-quotes","status":"publish","type":"post","link":"https:\/\/chuchuva.com\/pavel\/2012\/02\/far-manager-and-quotes\/","title":{"rendered":"Far Manager and Quotes"},"content":{"rendered":"<p>Far Manager has two keyboard shortcuts to copy file name to clipboard:<\/p>\n<ul>\n<li>Ctrl+Ins copies selected file name<\/li>\n<li>Alt+Shift+Ins copies full path to selected file<\/li>\n<\/ul>\n<p>These shortcuts also work if multiple files are selected which is great for creating batch renames.<\/p>\n<p>Let&#8217;s say file name contains spaces. In this case Far Manager adds quotes around file name. Supposedly this saves time if you construct some command line somewhere. Personally I find this totally unnecessary. I can add quotes myself, thank you very much.<\/p>\n<p>Here&#8217;s how to disable this behaviour:<\/p>\n<ol>\n<li>Open HKEY_CURRENT_USER\\Software\\Far2\\System<\/li>\n<li>Create QuotedName as DWORD value<\/li>\n<li>Set it to 1<\/li>\n<\/ol>\n<p><a href=\"http:\/\/www.farmanager.com\/svn\/trunk\/docs\/ENG\/TechInfo.txt\">Official documentation<\/a> for this feature is a bit obscure:<\/p>\n<blockquote>\n<pre><code>File or folder names, containing characters specified in rule  34,  will\r\nbe quoted when inserted into the editor\/command line or the clipboard.\r\nThe key \"System\/QuotedName\" of DWORD type controls this behaviour.\r\nBits:\r\n  0 - if set then file or folder names will be quoted inserted into\r\n      the editor\/command line.\r\n  1 - if set then file or folder names will be quoted inserted into\r\n      the clipboard.\r\nThe default value = 0xFFFFFFFF (quote file or folders names).\r\n<\/code><\/pre>\n<\/blockquote>\n<p>I think you need to be a developer to understand this.<\/p>\n<p>Note two similar shortcuts:<\/p>\n<ul>\n<li>Ctrl+Enter copies selected file name to command line<\/li>\n<li>Ctrl+F copies full path<\/li>\n<\/ul>\n<p>For this auto-quoting is actually useful, therefore I set QuotedName to 1, not 0.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Far Manager has two keyboard shortcuts to copy file name to clipboard: Ctrl+Ins copies selected file name Alt+Shift+Ins copies full path to selected file These shortcuts also work if multiple files are selected which is great for creating batch renames. Let&#8217;s say file name contains spaces. In this case Far Manager adds quotes around file &hellip; <a href=\"https:\/\/chuchuva.com\/pavel\/2012\/02\/far-manager-and-quotes\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Far Manager and Quotes<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-267","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/comments?post=267"}],"version-history":[{"count":0,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/posts\/267\/revisions"}],"wp:attachment":[{"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/media?parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/categories?post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chuchuva.com\/pavel\/wp-json\/wp\/v2\/tags?post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}