Visustin - Command line syntax

visustin ["filename.ext"] [/Lang] [/DRAW|/BIRDSEYE|/PREVIEW|/PRINT|/PRINTTO "printer"|/?]

ParameterDescription
"filename.ext"File to open in Visustin. This can be a source code file or an image file. It can also be a bulk flowcharting job file, in which case Visustin will run the job. Unless a full path is given, the file path is relative to the current working directory.
/LangLanguage of source file (such as /VB, see table below). /Lang is optional, but highly recommended. If /Lang is omitted, input file extension determines the language mode. Because several languages or modes share the same extensions, the mode may be incorrect or not set. Call visustin /? to list current file extension rules. The rules are subject to change in future versions.
/DRAWAfter opening a source file, draw a flow chart.
/BIRDSEYEAfter opening a source file, draw a birdseye flow chart.
/PREVIEWOpen a source file and bring up the Print Preview dialog. Visustin will stay running when the dialog closes.
/PRINTOpen a source file and bring up the Print Preview dialog for printing. Visustin will close when the dialog closes. This switch is provided mainly for printing image files.
/PRINTTO "printer"The same as /PRINT, but the printer named "printer" will be used. This switch is provided mainly for dragging image files onto a printer icon (Windows shell printto verb).
/?Display command line syntax and file extension rules.

If a source code file is passed as a parameter with none of /DRAW, /BIRDSEYE, /PREVIEW, /PRINT or /PRINTTO, the file is opened but no flow chart is drawn.

Sample command lines

Flowchart a C++ source file.
visustin.exe "myfile.cpp" /DRAW
View a COBOL fixed-mode source file in birdseye mode.
visustin.exe "myfile.cob" /COBFIX /BIRDSEYE
Flowchart a VB source file for print preview.
visustin.exe "myfile.frm" /VB /PREVIEW
View a .gif image.
visustin.exe "mypic.gif"
Print a .gif image, then quit.
visustin.exe "mypic.gif" /PRINT
Print a .gif image on printer HP LaserJet 5L, then quit.
visustin.exe "mypic.gif" /PRINTTO "HP LaserJet 5L"
Run a bulk flowcharting job, then quit.
visustin.exe "myjob.vjb"

Language switches

SwitchLanguage mode
/ADAAda
/ASPASP (VBScript)
/C, /CPP, /C++C/C++
/C#C#
/CLIPPERClipper
/CFColdFusion
/COBOLFREE, /COBFREECOBOL free format
/COBOLVARIABLE, /COBVARCOBOL (variable, columns 7-)
/COBOLFIXED, /COBFIXCOBOL (fixed, columns 7-72)
/FORTRANFREE, /FORFREEFortran free format
/FORTRANFIXED, /FORFIXFortran (fixed, columns 7-72)
/FOXPROVisual FoxPro
/IAR_MSP430IAR/MSP430
/JAVAJava
/JAVASCRIPT, /JSJavaScript
/JCLJCL
/JSPJava Server Pages
/LOTUSLotusScript
/MASMMASM
/MATLABMatlab
/NASMNASM
/PASCAL, /DELPHIPascal/Delphi
/PERLPerl
/PHPPHP
/POWERSCRIPTPowerScript
/PUREPureBasic
/PLIPL/I
/PLSQLPL/SQL
/PYTHONPython
/QBQuickBASIC
/RBREALbasic
/REXXRexx
/SASSAS
/TSQL, /T-SQLT-SQL
/VB, /VB6, /VBAVisual Basic, VBA
/VB.NETVisual Basic .NET
/VBSVBScript
/XSLTXSLT

©Aivosto Oy