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를 삽입하면 창 컴퓨터 - 애플 맥 조언을 보려면 다음을 참조합니다.
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): 창에게이 예제 프로그램 실행 파일을 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. 또한, 만약 그들이 언론의 전환 키를 눌러 삽입하는 동안 cd, 자동 실행이 비활성화합니다. In Windows NT4, 2000 and XP systems, only Administrators and Power Users can use AutoRun. 이 windows 안에, 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 - 윈도우 유저가 아닌 볼 수도있습니다.
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 index.htm shellrun을 표시하는 동안 웹 페이지를 표시하는 메시지가 "시작 cd 지금…"을 shellrun 팝업 창합니다.
[autorun] [자동]
open=ShellRun.exe index.htm Starting CD now… [= shellrun.exe index.htm cd 이제 시작…
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,. 웹페이지의 뷰어 프로그램이 귀하의 기본 브라우저로합니다.
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. 예를 들어, 파일 표시하려고하는 경우, 사용자 ™ adobe 무료 Acrobat 리더 또는 이에 상응하는 설치되어 있어야합니다.
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. adobe ™ 무료 Acrobat 리더를 배포를 참조하십시오 위치 : adobe 무료 Acrobat 리더 - 다운로드 배포를 위해 독자 adobe 무료 Acrobat합니다.
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. 레지스트리 편집기를 실행 시작을 누릅니다를 입력합니다. 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 \ 소프트웨어를 \ microsoft \ windows \ currentversion \ 정책 \ 탐색기합니다.
The NoDriveTypeAutoRun value should be hexadecimal 95 if AutoRun is enabled on all CDs, or B5 if disabled for CDs. 95은 16 진수 값을 the NoDriveTypeAutoRun 항목이 활성화된 경우 자동으로 모든 세트, 또는 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. NoDriveTypeAutoRun 항목 값을 the windows 95/98에서 95 00 00 00으로 표시됩니다. In Windows NT4, 2000 and XP this value is displayed as 0×00000095 or hexadecimal 95. 이 windows 안에, 2000 및 XP 용이 값은 0 × 00000095 또는 16 진수 95로 표시됩니다. If you modify the NoDriveTypeAutoRun value make sure it is still in the correct format. NoDriveTypeAutoRun 항목 값을 수정하는 경우의 올바른 형식은 아직 확실히합니다.