Jump to content

having runonceex.cmd on c: drive?


Recommended Posts

is it possible to specify a path for the entry in cmdlines.txt other than the below

[COMMANDS]
"RunOnceEx.cmd"

and change it to e.g

[COMMANDS]
"c:\RunOnceEx.cmd"

the reason I ask is that I want to use different templates for different desktops/laptops etc and was going to create a custom boot sector which called a batch file to prompt the user to specify which type of hardware or which build they wanted and it would then copy a runonceex.cmd tailored for that purpose from a 'templates' folder on the cd to the c: drive which would then be processed as normal

Link to comment
Share on other sites


Do not see a problem with that. The 1st command is called without a path as it is in the same directory as Cmdlines.txt. Your method should work fine. If you want a selective method for installations then you may want to look at WPI.

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...