Jump to content

RunOnceEx


NikV2005

Recommended Posts

when you use
SetLocal enableextensions
SET CDROM=%~d0


EndLocal

you have to do it in your .cmd files too that call programs from your install cd. so you have to do this

cmdow @ /HID
@echo off

SetLocal enableextensions
SET CDROM=%~d0

cd /d %cdrom%\APPLICATIONS\Acdsee8
start /wait Acdsee8.exe

EndLocal

exit

Do you explain me what means strings "SetLocal enableextensions..and... EndLocal" ?

Link to comment
Share on other sites


that code sets %CDROM% to the drive that RunOnceEx.cmd is run from, this is what lets you install programs off of the CD instead of the file first being copied to the HARD DRIVE and then installed.

Link to comment
Share on other sites

that code sets %CDROM% to the drive that RunOnceEx.cmd is run from, this is what lets you install programs off of the CD instead of the file first being copied to the HARD DRIVE and then installed.

Thank's for answer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...