WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Functions

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

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.
Article ID:   W15500
File Created: 2003:05:13:11:28:20
Last Updated: 2003:05:13:11:28:20