Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


DirHome vs. DirGet

Keywords: 	 dirhome dirget

For a compiled script, DirHome() returns the directroy the compiled exe lives in. For uncompiled (and compiled scripts intcontrol 1004 does this), as in:
myplace=Filepath(IntControl(1004,0,0,0,0))
There is also a currently logged directory that DirGet() returns. This is also the directory that DirChange(...) changes. That is where files will be searched for.