waqqas31 Posted April 2, 2010 Share Posted April 2, 2010 Hello Everyone,What I'm trying to achieve is installing different sets of programs, depending on what the system is meant for.So, I was thinking that different config files can be set up for regular business PC's, versus multimedia workstations or development workstations.The problem is that WPI always launches with config.js. Even if I go to config and load a different config.js-type file, shutting down WPI will reset it back to the defaults.Are there command-line arguments to allow me to launch WPI with specific config files?The documentation doesn't say very much at all on how to work with multiple config files, even though this is obviously a supported feature.All help and guidance is appreciated! Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted April 3, 2010 Share Posted April 3, 2010 Command line uses of WPIWPI supports the use of command line arguments for selection of custom files and time for even further customization of your WPI disks or setups.Example: WPI.exe options=useroptions_mritter.js config=config_mritter.js check=Work timer=30 1.If a path is not specified for the file, it will assume they are in the WPIScripts folder.2.Paths can be full (starting with a drive letter) or relative to WPI.hta (starting with '.\', '..\', or '\\').3.Spaces are supported only if the path provided is properly quoted:config="c:\space in\file path.js" Link to comment Share on other sites More sharing options...
waqqas31 Posted April 3, 2010 Author Share Posted April 3, 2010 Thanks! That helped quite a bit Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now