Tip 1: How to create an autorun file

Create file startup for CD-, DVD- or USB-drive does not require deep knowledge in programming languages ​​and can be accomplished by standard means of OC Windows without using additional software.
Guide
1
Call the main menu system by pressing the "Start" button, and navigate to select "All Programs."Open the link "Standard" and run the application "Notepad".Create a new text document.In the first line, type [autorun].
2
next line created file startup depends on the action.Napechatayteopen = imya_programmy.exeicon = imya_ikonki.icodlya start the selected program with the specified volume icon when connected.Note that both the file and the icon of the application must be placed in the root directory of the desired disc.Assign to create a document name autorun.inf.
3
Use the syntax open = imya_papki1imya_papki2imya_programmy.exe to specify the full path to the desired program, if the place of its preservation is not the root of the removable media.If necessary, select the app
ropriate argument after the program name.
4
If the goal of creating a file startup is the opening image, HTML-documents or presentations should be placed in the root directory of the removable drive DOS-file command.In this case, the batch file open files on the volume desired, using the designated default program for the data type.Look the file as the startup should open = autorun.bat index.htm.DOS files in this version is to use the code: echo off @ start% 1% 2% 3% 4% 5% 6% 7% 8% 9 @ exit.
5
alternative method of creating such file may also serve as a syntax ShellExecute = index.htm.Remember that the first line of any file startup always [autorun].
6
If necessary, use the user commands in the startup recommended syntax shellимя_командыcommand=полный_путь_к_исполняемому_файлу_приложенияимя_программы.exe.Remember that in this case the name of the command should not contain spaces and be as short as possible.

Tip 2: How to Create Autorun disc

Autorun used to create a user-friendly quick launch menu desired component disk .There is no need to take any additional steps to search for files in the file system.The CD will automatically start the required installation procedure or music playback without requiring the user to special operations.
How to Create Autorun disc
you need
  • - Program Create Autorun
Guide
1
Open the disk and create a new file «autorun.inf».To do this, right-click in the box, and select "New" - "Text File", and then enter the desired name and resolution.
2
Open the created file using Notepad Windows (right click of the mouse on the file - "Open with ..." - "Notepad").
3
Enter the following code: [AutoRun]
icon = ikonka.ico
open = file.exeIkonka.ico will be displayed when you start drive in Windows Explorer.It can draw using the standard Paint, save the picture in .bmp format, and later changed it to .ico.
4
File.exe can be any executable .bat, exe or .cmd file and script .js or .vb.If the menu to be used .html, then the script will be slightly different.To run such a file would have to add a section «open» additional option «start»: open = start "stranitsa.html"
5
Menu will open in the web browser, which by default is the user.If such a launch does not pass have to write a small program.Create a file «start.bat» and open it with notepad.Add the line: Start% 1
6
Save the file, place it in a directory with «autorun.inf», which specify in the section option open: open = start.bat stranitsa.html
7
Avtoran ready.Icon files and run can be placed in individual folders, but will then have to specify the relative path completely.For example, put the file in the folder icon «icon», and the startup file in a folder «run», will need to make appropriate changes: [autorun]
icon = icon / ikonka.ico
open = run / file.exe
Helpful Hint
To automatically create autorun can use special tools.For example, using the program is easy to Create Autorun create autorun for disks.Moreover, the launch can attach any comment and customize the look of the window.The menu is limited only by your imagination.
Sources:
  • how to create autorun on a disc
Sources:
  • Creating a startup
  • how to create a file named

Search

Related Posts

Categories