Visustin - Command line syntax

visustin.exe ["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). If language is omitted, Visustin tries to auto-detect the language mode based on the file extension. Because several languages or modes may share the same extension, the wrong mode may be selected, so using the /Lang parameter is recommended.
/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).

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
/VB, /VB6, /VBAVisual Basic, VBA
/VB.NETVisual Basic .NET
/ASPASP
/QBQuickBASIC
/C, /CPP, /C++C/C++
/C#C#
/JAVAJava
/JSPJava Server Pages
/JAVASCRIPT, /JSJavaScript
/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)
/PASCAL, /DELPHIPascal/Delphi
/PERLPerl
/PHPPHP
/TSQL, /T-SQLT-SQL
/PL/SQLPL/SQL
/ADAAda
/PYTHONPython
/MASMMASM
/NASMNASM
/IAR_MSP430IAR/MSP430
/CLIPPERClipper
/LOTUSLotusScript
/PUREPureBasic
/FOXPROVisual FoxPro
/POWERSCRIPTPowerScript
/RBREALbasic

©Aivosto Oy