Topic: Autoruning CDs (Page 1 of 1) Pages that link to <a href="" title="Pages that link to Topic: Autoruning CDs (Page 1 of 1)" rel="nofollow" >Topic: Autoruning CDs <span class="small">(Page 1 of 1)</span>\

Mark McCrea
Obsessive-Compulsive (I) Inmate

From: Benito, Manitoba, Canada
Insane since: Oct 2001

IP logged posted posted 08-24-2004 21:47 Edit Quote

I am trying to make an autorunning CD that uses VLC (A media player). My problem is that not all CD drives will be d:. So if I try to specify an absolute file path names then I will come across some problems on computers that don't use the drive letter that I specify.

An autorun.inf will play regardless of drive letter the CD has, and can use relative paths, but I wish to have a video file on the CD that plays when VLC starts, and I can't figure out how to specify a file for VLC to play using relative paths, or a search to find the file on the disk.

For example currently opens vlc from the same directory that the autorun is in. .\ specifies that the file path is relative in the autorun.inf.

but to run the video the usual method would be:
open=.\vlc\vlc.exe d:\mpegtest100.mpeg

where d:\mpegtest100.mpg is a parameter for running VLC that tells it to run the specified file. using .\ doesn't seem to work as part of the parameter instead of d: Can this be altered so that it too is a relative path? is the problem that I currently having?

Does anyone know a method to specify in a VLC playlist, autorun.inf, command line, or an outside programs to query what drive it is in, and return that as a string to use or for anoher program to use?

Thank-you for your time.

There is plenty of room on the bottom.

Paranoid (IV) Inmate

From: meme-contagion
Insane since: Aug 2003

IP logged posted posted 08-25-2004 09:11 Edit Quote


:: That runs autorun.exe in the disc's root directory.


:: That runs autorun.avi in the disc's 'autorun' directory.

Autorun.inf, What is it?
MSDN - Autorun.inf Entries

(Edited by metahuman on 08-25-2004 09:14)

Post Reply
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
Your Text:
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu