OpenNetView.2.vbs Example

Applies To

OpenNetView command

Description

This example creates a file in the user's directory and then opens the new file using the path as the environment variable. Create the file to open

Code

Dim fso, f, filename
filename = XSIUtils.BuildPath( Application.InstallationPath(siUserPath), "helloworld.html" )
Set fso = CreateObject( "Scripting.FileSystemObject" )
Set f = fso.CreateTextFile( filename, True )
f.WriteLine "Hello World"
f.Close
' Open NetView with the new file created in the user's directory
OpenNetView filename

Related Examples

OpenNetView.1.vbs

Keywords

OpenNetView


Autodesk Softimage 2011