**fScan Reference Manual, Chapter 4 (Variables): thiswin ** ===== $Thiswin -- names associated with the current active window ===== usage:\\ **$thiswin** - the simple file name of the current window (no directories)\\ **$thiswin2** - the filename for the current window (relative path)\\ **$thiswin3** - the directory containing the current window data file (relative path)\\ **$thiswin4** - the full file path name for the current window\\ **$thiswin5** - the full path to the directory containing the current window file\\ **$thiswin6** - the display name for the current window\\ **$thiswin7** - the filename for the current window (relative to $exptdir)\\ **$thiswin8** - the directory for the current window (relative to $exptdir)\\ **$thiswin9** - the simple directory name for the current window (omit path to this directory)\\ THISWIN is always the name of the current active data set. Adding a number at the end of the variable name let's you choose what portion or form of the data set name you want; the meaning of these numerical modifiers is described above. The default modifier is 1 (so $thiswin is the same as $thiswin1). The same naming convention applies to other filename variables (e.g. [[jvs:fscan:manual:chapter4:prevwin|$prevwin]], [[jvs:fscan:manual:chapter4:pdigmfile|$pdigmfile]]). A somewhat different naming convention applies to directory variables (e.g. [[jvs:fscan:manual:chapter4:curdir|$curdir]], [[jvs:fscan:manual:chapter4:fscanhome|$fscanhome]], [[jvs:fscan:manual:chapter4:wspacedir|$wspacedir]], etc). **See Also:**\\ [[jvs:fscan:manual:chapter4|Variables]], [[jvs:fscan:manual:chapter4:strings|Strings]], [[jvs:fscan:manual:chapter4:prevwin|Prevwin]], [[jvs:fscan:manual:chapter4:pdigmfile|Pdigmfile]], [[jvs:fscan:manual:chapter4:curdir|Curdir]], [[jvs:fscan:manual:chapter4:fscanhome|Fscanhome]], [[jvs:fscan:manual:chapter4:subjectdir|Subjectdir]], [[jvs:fscan:manual:chapter4:usrhomedir|Usrhomedir]], [[jvs:fscan:manual:chapter4:wspacedir|Wspace1dir]], [[jvs:fscan:manual:chapter4:wspacedir|Wspace2dir]], [[jvs:fscan:manual:chapter4:wspacedir|Wspacedir]] [[jvs:fscan|fScan Home]], [[jvs:fscan:manual|fScan Manual]], [[jvs:fscan:manual:help|Manual Help]]