CD AutoRun basics مؤتمر نزع السلاح اوتورون اساسيات
AutoRun runs a program when a CD is inserted into a Windows computer - see below for advice on Apple Macs. اوتورون يدير البرنامج عندما مؤتمر نزع السلاح سيتم ادراج الحاسوب ويندوز -- انظر ادناه للحصول على المشوره بشأن التفاح بالاعمال.
If Windows finds a (plain text) file called AUTORUN.INF in the root directory of a CD then it follows the instructions in this file to run a program. اذا كان يجد ويندوز (أ) (نص عادي) دعت ملف autorun.inf في الدليل الرئيسي للقرص ثم يتبع التعليمات في هذا الملف لتشغيل البرنامج. This example AUTORUN.INF file tells Windows to run program setup.exe (from the root directory of the CD): هذا المثال ملف autorun.inf يروي لتشغيل برنامج ويندوز setup.exe (من الدليل الرئيسي للمؤتمر) :
[autorun] [اوتورون]
open=setup.exe مفتوحة = setup.exe
icon=snazzie.ico ايقونه = snazzie.ico
Use the Windows Notepad application to edit plain text files (it is in the Start All Programs Accessories menu). استخدام ويندوز لتحرير محرر تطبيق نص عادي ملفات (وهو في بداية كل البرامج القائمة الملحقات).
Your CD users may have switched off AutoRun. مؤتمر نزع السلاح المستخدمين الخاصة بك قد يكون مغلقا اوتورون. This might be because they are concerned about viruses. وقد يكون ذلك لأنهم يشعرون بالقلق من الفيروسات. Also, if they press the Shift key down while inserting the CD, AutoRun is disabled. ايضا ، اذا كانت الصحافة التحول الرئيسية في حين تراجع ادخال مؤتمر نزع السلاح ، هو اوتورون المعوقين. In Windows NT4, 2000 and XP systems, only Administrators and Power Users can use AutoRun. في ويندوز nt4 و 2000 و اكس بي نظم ، لا يحق الا للمدراء ويمكن للمستخدمين استخدام القوة اوتورون.
There is no way to force your users to use AutoRun. لا توجد طريقة لقوة يتمكن المستخدمون من استخدام اوتورون. It is therefore good practice to provide instructions so that users know how to start your CD, eg tell them to open file index.htm in their browser. ولذلك من الممارسات الجيدة لتوفير تعليمات للمستخدمين بحيث نعرف كيف تبدأ الخاص بك مؤتمر نزع السلاح ، على سبيل المثال نقول لهم لفتح ملف index.htm في المتصفح. These instructions are also required if your CD might be viewed by non-Windows users. هذه التعليمات ويلزم ايضا اذا كان مؤتمر نزع السلاح يمكن ان ينظر اليها من غير مستخدمي ويندوز.
So why is ShellRun needed? فلماذا shellrun حاجة؟
Until recently, it was not possible for Windows to AutoRun a file rather than a program. وحتى وقت قريب ، لم يكن من الممكن للتشغيل الى ويندوز لملف بدلا من ان يكون البرنامج.
OK, that’s not strictly true: you could use the following AUTORUN.INF to show web page index.htm حسنا ، هذا ليس صحيحا تماما : يمكنك ان تستعمل التالية autorun.inf لاظهار صفحة ويب index.htm
[autorun] [اوتورون]
open=start index.htm بداية مفتوحة = index.htm
However, if you do this, Windows displays a DOS box briefly, which looks nasty. ولكن اذا كنت تفعل ذلك ، ودوس ويندوز لعرض الإطار بايجاز ، والتي تبدو مقرف. (And start might not be available on some systems.) (وبداية قد لا تكون متاحة على بعض النظم.)
If you are only targeting recent Windows systems, then you can use the shellexecute command to open a file without a flickering DOS box: اذا انت فقط تستهدف انظمة ويندوز الاخيرة ، بعد ذلك يمكنك استخدام shellexecute قيادة فتح ملف دون الايماض دوس الاطار :
[autorun] [اوتورون]
shellexecute=index.htm shellexecute = index.htm
What does ShellRun do then? Shellrun ماذا نفعل بعد ذلك؟
ShellRun overcomes the above problems. Shellrun تتغلب على المشاكل المذكورة أعلاه. It shows your file and displays a neat popup window. ويبين الملف الخاص بك وبارعه لعرض نافذة منبثقه. The popup appears straight away so that the user knows that something is happening. ويبدو فإن تعداد على الفور حتى ان يعرف المستخدم ان هناك شيئا يحدث. ShellRun works in all Windows systems. Shellrun يعمل في جميع أنظمة ويندوز.
This example AUTORUN.INF tells ShellRun to show web page index.htm while displaying message “Starting CD now…” in the ShellRun popup window. هذا المثال autorun.inf يروي shellrun لاظهار صفحة ويب index.htm في حين ان عرض رسالة "اعتبارا من الآن… لمؤتمر نزع السلاح" في shellrun نافذة منبثقه.
[autorun] [اوتورون]
open=ShellRun.exe index.htm Starting CD now… = المفتوحه shellrun.exe index.htm مؤتمر نزع السلاح اعتبارا من الآن…
Do not forget to put ShellRun.exe in the root directory of your CD along with AUTORUN.INF. لا تنسى ان وضع shellrun.exe في الدليل الرئيسي للمؤتمر نزع السلاح الخاص بك جنبا الى جنب مع autorun.inf.
Viewer Technicalities المشاهد الفنية
All the above AutoRun examples, including ShellRun, use the same core technique to display a file. اوتورون جميع الامثله المذكورة اعلاه ، بما في shellrun ، تستخدم نفس التقنيه الاساسية لعرض الملف.
Windows associates a viewer program with each file type. مشاهد ويندوز شركاء البرنامج مع كل نوع الملف. For .HTM and .HTML web pages, the viewer program will be your default browser. ل. Htm و. لغة تأشير النص الفائق صفحات الويب ، والمشاهد سيكون برنامج المتصفح الافتراضي لديك.
If a user does not have a viewer for your file type then it cannot be displayed until a viewer is installed. اذا كان المستخدم لا يملك المشاهد الخاصة بك لنوع الملف ومن ثم لا يمكن عرض المشاهد هو ان يتم تركيبها. For example, if you are trying to show a PDF file, the user must have Adobe™ Acrobat Reader or equivalent installed. فعلى سبيل المثال ، اذا انت تحاول ان تظهر ملف PDF ، يجب ان يكون للمستخدم ™ بهلوان قارئ ادوبي او ما يعادلها تركيبها.
If a viewer is not available, the freeware version of ShellRun just displays a message. اذا كان المشاهد ليست متاحة ، نسخة مجانيه للعرض فقط shellrun رسالة. In retail version you can prompt the user to run a viewer installation program. في الاصدار المباع يمكنك المستخدم لتشغيل برنامج تركيب المشاهد. See the Viewers page for more details. انظر صفحة المشاهدين لمزيد من التفاصيل.
If you have a viewer program available then put its installation program on your CD - if you are allowed to distribute it. اذا كان لديك برنامج المشاهد المتاحة ثم وضعت برنامج التثبيت الخاص بك على مؤتمر نزع السلاح -- اذا كنت يسمح لتوزيعها. To distribute Adobe™ Acrobat Reader, see here: Adobe Acrobat Reader - Download Adobe Acrobat Reader for distribution. أدوبي لتوزيع ™ بهلوان قارئ ، انظر هنا : ادوب أكروبات القارئ -- تحميل ادوب أكروبات القارئ للتوزيع.
Enabling AutoRun on your computer تمكين اوتورون على جهاز الكمبيوتر الخاص بك
To test AutoRun you need to have it enabled on your computer. لاختبار اوتورون تحتاج ان يكون لديك لانها تمكن على جهاز الكمبيوتر الخاص بك. A registry setting can be used to disable AutoRun. سجل لوضع يمكن استخدامها لتعطيل اوتورون. Click Start Run then type in regedit. انقر فوق ابدا في تشغيل ثم اكتب regedit. Select Edit Find and type in NoDriveTypeAutoRun. اختر تحرير وايجاد نوع في nodrivetypeautorun. This value should be found in this key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer . هذا يجب ان تكون القيمه الموجودة في هذا المفتاح : HKEY_CURRENT_USER \ برامج \ مايكروسوفت \ نوافذ \ CurrentVersion \ سياسات \ اكسبلورر.
The NoDriveTypeAutoRun value should be hexadecimal 95 if AutoRun is enabled on all CDs, or B5 if disabled for CDs. وقد nodrivetypeautorun يجب ان تكون القيمه 95 ستعشري اوتورون اذا تم تمكين جميع الاقراص المدمجه ، او اذا كان B5 المعوقين لالاقراص المدمجه. (If you want to test AutoRun on a floppy disk, set this value to 91.) You may need to change more than one instance of NoDriveTypeAutoRun in the registry. (اذا كنت تريد اختبار اوتورون على قرص مرن ، وتحديد هذه القيمه الى 91.) قد تحتاج الى تغيير اكثر من واحدة من nodrivetypeautorun في قلم المحكمه. You usually need to reboot for a new value to take effect. كنت عادة بحاجة الى اعادة تشغيل الكمبيوتر لقيمة جديدة الى حيز التنفيذ.
In Windows 95/98/Me the NoDriveTypeAutoRun value is displayed as 95 00 00 00. في ويندوز 95/98/me فان nodrivetypeautorun كما يتم عرض قيمة 95 00 00 00. In Windows NT4, 2000 and XP this value is displayed as 0×00000095 or hexadecimal 95. Nt4 في ويندوز ، اكس بي 2000 وهذه القيمه هي التي تظهر 0 × 00000095 او 95 ستعشري. If you modify the NoDriveTypeAutoRun value make sure it is still in the correct format. في حالة تعديل القيمه nodrivetypeautorun تأكد من انه لا يزال في بالشكل الصحيح.