HCL.hr forum

Upiti i savjeti o tehnologiji => Softver i internet => Autor teme: Zeleni - 21. Svibanj, 2010., 11:35

Naslov: AUTORUN
Autor: Zeleni - 21. Svibanj, 2010., 11:35
Jel moze mala pomoc, stvar je ovakva, zelim napravit jedan CD koji sadrzi samo jednu prezentaciju i zelim da kad se CD stavi u komp da se sam taj fajl pokrene, znaci autorun. Negdje sam jos prije vidio kak tocno izgleda ta autorun datoteka napisana u notepadu, ali se nemogu sjetit, dajte pomozite
Naslov: Odg: AUTORUN
Autor: $h4d0w - 21. Svibanj, 2010., 12:19
c/p sa nekog rendom foruma:

Citat:
Using Notepad, create a document called autorun.inf.  It is case sensitive so name it exactly that.

In the text of the notepad document write only:

[autorun]
open=FileName.exe


"Filename" is the name of the file to run.

Place this notepad document on the CD outside of any folders and you're good to go.

To je valjda to pa probaj, valjda će radit. :piva:
Naslov: Odg: AUTORUN
Autor: Armor - 21. Svibanj, 2010., 12:20
http://www.softwarepatch.com/tips/autorun.html

"The autorun can open any type of file and display any message you want. To make changes, open Windows Notepad (do not use Word, WordPad or other Word processors). Now open the autorun.bat file from within Notepad. The order is important, if you double-click the autorun.bat file, it will try to run. So open NotePad and select File-Open and choose the autorun.bat file. You'll see four lines of code. "

"The first line after @echo (remember the space) will appear as a comment in the autorun launch Window. This comment will be seen very briefly by your end-users. It can be changed to anything you want, but since it only appears for a second or less, don't make it too wordy. If you wanted to say 'The CD is loading now...', the first line of code will look like:

@echo The CD is loading now...

The second line of the code tells the .bat file to open to your index.html file. If want to open a file by another file (eg readme.txt), then it would read:

@start readme.txt

Make sure you leave the last two lines untouched (@cls and @exit) - they must always appear last. Save the changes and you are done. That that's all you need to create your own HTML autorun CD.
"
Naslov: Odg: AUTORUN
Autor: Zeleni - 21. Svibanj, 2010., 14:51
hvala decki, ali negdje sam procitao da taj autorun.inf napisan u notepadu nemoze pokretat nista osim .exe fajla
jel bi netko znao napisat neki exe program koji pokrece ppt prezentaciju
Naslov: Odg: AUTORUN
Autor: Armor - 21. Svibanj, 2010., 15:02
Evo ti i ovo:
http://www.cdmenupro.com/autorun.htm

Autorun.inf

The following is an example of a simple Autorun.inf file. It specifies Filename.exe as the startup application. The second icon represents the CD-ROM drive instead of the standard drive icon.
[autorun]
open=Filename.exe
icon=Filename.ico
Naslov: Odg: AUTORUN
Autor: Zeleni - 21. Svibanj, 2010., 15:16
sad cu testirat pa cu vidjet kak ide pa javim

EDIT:

ovak je stanje, sprzim na cd powerpoint prezentaciju preko opcije Package to cd i sve radi, on sam napravi autorun i sve je odlicno, ali ima jedna caka, on kad sporzi, na cd-u se nalazi 10-ak fajlova ukljucujuci samo prezentaciju i onaj fajl s kojim se editira sve. Ne znam kako da ogranicim da se nemoze iz te prezentacije kopirat slike, ocu to zastititi, ali ne ide. Probao sam enkripciju, ali onda me i pri pokretanju prezentacije trazi passwd, probao sam oznacit prezentaciju i kao final version, ona sprjecava bilo kakva pisanja po njoj, ali kopiranja iz nje dozvoljava, lud sam, dajte pomozite

EDIT2: rjeseno, pao je dogovor