Computing.Net > Forums > Programming > Autorun menu exe

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Autorun menu exe

Reply to Message Icon

Name: Toad
Date: August 17, 2003 at 10:26:48 Pacific
OS: XPPro
CPU/Ram: 1.5gP4/1gRDram
Comment:

I burned 6 software App on a CD, I'm always installing the same ones on clients systems so instead of swapping out 6 CD's one after the other. I got the idea to do the Autorun.inf file & the shell command to be able to allow right-click & chose which app to install, then i got cocky & wanted to do a little autorun exe "menu" which would have 6 command buttons each linked to the "folder\setup.exe" to launch the app. With the VB "menu" app on the CD what path do i tell the shell command to find the exe in a folder on the same cd. As the drive will not always be D: Or E: etc.




Sponsored Link
Ads by Google

Response Number 1
Name: borelli34
Date: August 17, 2003 at 15:16:59 Pacific
Reply:

Don't use a drive assignment to start with. If you use a DOS level dereference within the path (ie start the path with a forward slash '\') and specify the remainder of the path needed to find the file.

borelli34


0

Response Number 2
Name: Sci-Guy
Date: August 17, 2003 at 16:40:33 Pacific
Reply:

Or you could just use a ready made product like Autoplay Media Studio.


0

Response Number 3
Name: Toad
Date: August 17, 2003 at 17:19:09 Pacific
Reply:

Software looks good but it's like cheating, I should learn this stuff.
I'm getting a snag w/ the path run time 53 file not found w/ Shell ("\folder\app.exe"), if I code for the root, shell("app.exe") & empty the folder onto the CD the app comes back w/ an install error, which it does not do if I right-click the drive & install w/ the
Shell\app=app
Shell\app\Command=folder\app.exe



0

Response Number 4
Name: Infinite Recursion
Date: August 17, 2003 at 21:59:34 Pacific
Reply:

You can use App.Path and rid yourself of concern on which drive letter your client is configured with.

Infinite Recursion


0

Response Number 5
Name: borelli34
Date: August 17, 2003 at 23:22:36 Pacific
Reply:

Actually you need to begin the path with a double forward slash '\\' and it actually doesn't hurt to do this throughout the entire path (use a double slash wherever you use a single slash). Sorry, I forgot about that little detail.

borelli34


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Autorun menu exe

create my own cd with menus etc www.computing.net/answers/programming/create-my-own-cd-with-menus-etc/14657.html

Multimedia - CD Rom/Mpeg Problems www.computing.net/answers/programming/multimedia-cd-rommpeg-problems/5535.html

Autorun.inf and Autorun.exe in CD www.computing.net/answers/programming/autoruninf-and-autorunexe-in-cd-/6789.html