| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Oct 2009
Posts: 6
|
hello
I am designing a cd autorun. I made a close button that when I click on, it will end the autorun program and if possible open a file from the cd. I need the code that help me in this matter waiting your comments thanks/best regards |
|
|
|
|
|
#2 |
|
Member
|
use geURLto open the file by specifying its relative path
|
|
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Oct 2009
Posts: 6
|
I tried this way. unfortunately it will open my web browser instead
if you have another one, please tell me ASAP. thanks |
|
|
|
|
|
#5 |
|
Registered User
Join Date: Oct 2009
Posts: 6
|
Thanks for the nice page you gift. It is really useful.
Actually I wanted to allow the user to browse the Cd after seeing the presentation so the rest of documents that are not contained in the presentation will be shown in an individual file which will appear to the user after he clicks on the button. I hope you understand what I meant. so, please help me. Thanks / best wishes |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 244
|
Since proxy works with BAT files you can put any command you want in the BAT file to do just about anything you want. To show a folder from the CD you would call "explorer.exe" (which is the Windows Explorer, not Internet Explorer). You can do it like this to browse the root folder of the drive the BAT file is on. This will work from a CD or on your desktop if you want to try it before burning a CD.
Code:
explorer.exe \ |
|
|
|
|
|
#7 |
|
Registered User
Join Date: Oct 2009
Posts: 6
|
hello northcode
Thank you very much. The problem is solved. There are no more comments to add. just to say you are really genius. by the way, is this way working in Mac also? thanks/best regards Last edited by angls; 11-10-2009 at 08:52 AM.. |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Apr 2002
Location: Ottawa, Ontario, Canada
Posts: 244
|
On a Mac you can EXEC a compiled AppleScript file instead of a BAT file to do the same thing.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|