The working directory and location of the current document may be set using the Operating System Command (OSC) escape sequence:\n\n\tESC ] Ps ; Pt BEL\n\nThe parameter Ps is either 6 (document) or 7 (working directory) and Pt is a “file:” URL. The URL should include a hostname to disambiguate local and remote paths, and characters must be percent-encoded as appropriate.\n\nWhen both the working directory and document are set only the document is displayed.
يمكن تعيين دليل العمل وموقع المستند الحالي باستخدام تسلسل الهروب لأمر نظام التشغيل (OSC):\n\n\tESC ] Ps ; Pt BEL\n\nيكون معامل Ps إما 6 (المستند) وإما 7 (دليل العمل)، ومعامل Pt يكون “file:” URL. يجب أن يحتوي الـ URL على اسم مضيف لإزالة غموض المسارات المحلية والبعيدة، ويجب ترميز الأحرف بالنسبة المئوية حسبما هو ملائم.\n\nعند تعيين كل من دليل العمل والمستند، يتم عرض المستند فقط.