Jump to content

Running the switchblade with config files


Recommended Posts

The idea itself is not new, but the use could be it ;)

If you're using the standard switchblade and would like to change some pathes (e.g. installation path, cmd-path, ...) you would have to edit nearly your whole batch.

One solution would be using variables specified in each batch, but that still means to change a handful batches.

The solution, a simple txt-file containing the data.

The file "locations.ini" containing the pathes ...


... and a line of code in every batch file which sets the variables

for /f %%i IN (.locations.ini) do set %%i

An example:

.%cmd%iepv.exe --> .the.folder.without.variableiepv.exe

So without editing a normal or compiled batch pathes can be changed without great effort.

This could be useful for:

- changing the active components of the switchblade without editing or compiling a batch

- changing the foldernames created on the pc in order to be more "invisible"

- changing the "runlist" of programs to dump informations


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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