A Portable Script (.psf) File is a text file with a .psf extension in XML format that contains one or more scripts, associated settings and author information.
It is a convenient alternative to specifying a large number of options and scripts on the command line, and additionally, provides an method for the distribution of scripts.
For example, instead of running a script by typing the command line below:-
> axwscript buildAlintex.csx sourceSafe.vb visualStudio.cs log.cs
One could simply type the following:-
> axwscript buildAlintex.psf
Want to give the script to somebody else? Simply give them buildAlintex.psf, rather having to supply them with a number of different script files together with instructions on using them.
Portable Script Files can be modified by unpacking their contents to a folder, modifying the scripts, then repacking them back into a Portable Script File.
See the following topics for further information:-
Creating a Portable Script File
packing scripts, settings and author information to a Portable Script File
Viewing Information in a Portable Script File
displaying detailed information about the file in your web browser
Unpacking a Portable Script File
unpack a Portable Script File back to its constituent scripts
Repacking a Portable Script File
a method to easily repack unpacked scripts back into a Portable Script File
Storing Options in a Portable Script File
describes which command line options are stored in a Portable Script File
See Also