CD AutoRun basics CDの自動再生の基本
AutoRun runs a program when a CD is inserted into a Windows computer - see below for advice on Apple Macs.自動実行プログラムを実行するときには、 CDが挿入されているWindowsコンピュータ-アップルマックアドバイスを参照してください。
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を入力し、それ以下の通りは、 CDの指示にこのファイルを実行するプログラムです。 This example AUTORUN.INF file tells Windows to run program setup.exe (from the root directory of the CD):この例では、 WindowsのAutorun.infファイルを実行するプログラムのSetup.exe (からのルートディレクトリに、 CDの) :
[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). Windowsのメモ帳を使用してテキスト形式のファイルを編集するアプリケーション(それは周辺機器の[スタート]メニューの[すべてのプログラム] ) 。
Your CD users may have switched off AutoRun.ユーザーが使用しているCDが自動再生をオフにします。 This might be because they are concerned about viruses.このため、彼らは懸念するかもしれないウイルスです。 Also, if they press the Shift key down while inserting the CD, AutoRun is disabled.また、もし彼らには、シフトキーを押しながらプレスのCDに挿入して、自動再生が無効になっています。 In Windows NT4, 2000 and XP systems, only Administrators and Power Users can use AutoRun. WindowsのNT4 、 2000年およびXPシステムでは、管理者とパワーユーザーのみを自動再生を使用します。
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.そのための練習を提供することは良い方法を知ってユーザーに指示してスタート]ボタンを使用しているCDは、例えば、 index.htmを試すようにそれらに開いているファイルは、ユーザーがブラウザにします。 These instructions are also required if your CD might be viewed by non-Windows users.これらの手順が必要な場合にも使用しているCDかもしれない非Windowsユーザに表示されます。
So why is ShellRun needed?これはなぜですshellrunは必要ですか?
Until recently, it was not possible for Windows to AutoRun a file rather than a program.つい最近まで、ことができませんでしたfor Windowsを自動実行するファイルではなく、プログラムです。
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.しかし、これを行う場合、 WindowsのDOSボックスを表示する簡単に、これは意地の悪いです。 (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:ターゲットとするだけの場合は最近のWindowsシステムは、使用することができますShellExecuteのコマンドを入力し、ファイルを開くにはDOSボックスなしで明滅:
[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作品をすべてのWindowsシステムです。
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を表示するメッセージが表示さながら"最低のCD今すぐ… "は、 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を使用しているCDと一緒にします。
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.ビューアのWindowsアソシエイツプログラムを各ファイルのタイプです。 For .HTM and .HTML web pages, the viewer program will be your default browser.です。 htmおよび。 HTML Webページの場合、ビューアプログラムは、デフォルトのブラウザです。
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ファイルを表示するには、ユーザはAdobe ™アクロバットリーダー必要がありますまたは同等のインストールします。
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.ビューアのプログラムをお持ちの場合はご利用には、インストールプログラムを入力し、使用しているCD -を配布する場合には許可してください。 To distribute Adobe™ Acrobat Reader, see here: Adobe Acrobat Reader - Download Adobe Acrobat Reader for distribution.を配布するアクロバットリーダーはAdobe ™ 、こちらをご覧ください:はAdobe Acrobat Readerを-A dobeA crobatR eaderダウンロード配布します。
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 \ Software \マイクロソフト\ Windowsの\ currentversion \ポリシー\ Explorerを起動します。
The NoDriveTypeAutoRun value should be hexadecimal 95 if AutoRun is enabled on all CDs, or B5 if disabled for CDs. nodrivetypeautorun値は16進数の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するには、レジストリの1つのインスタンスです。 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. Windows 95/98/Meではnodrivetypeautorun値が表示されて、 95 00 00 00 。 In Windows NT4, 2000 and XP this value is displayed as 0×00000095 or hexadecimal 95. WindowsのNT4 、 2000年およびXPこの値は0 × 00000095として表示されますまたは16進数の95 。 If you modify the NoDriveTypeAutoRun value make sure it is still in the correct format. nodrivetypeautorunの値を変更した場合は、まだことを確認して、正しい形式です。