Microsoft Gold Partner

Contact

Phone: (613) 563-3993
Toll Free: (888) 879-2020
Fax: (613) 563-7233

Email Sales
Email Technical Support

Mail
Beyond 20/20, Suite 500
265 Carling Avenue
Ottawa, ON
Canada
K1S 2E1

Resources

Forum
Wiki
Beyond 20/20 Support
Welcome, Guest
Please Login or Register.    Lost Password?
Re:What's the difference between Source and FilePath? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:What's the difference between Source and FilePath?
#28
Re:What's the difference between Source and FilePath? 10 Months, 3 Weeks ago  
I can see why this is confusing.

The parameters used in the [Input] section of the IVU file can be somewhat misleading.

The "Source" parameter is required, it specifies the name of the source file.
The "FilePath" parameter is optional, and it specifies the name of the source files, when multiple files are listed as sources. Note that even though multiple files are listed as a source, one file still has to be defined as the "Source" parameter. The FilePath will accept wild cards like "?" or "*". As an example, "data???.txt" will specify that all file names that start by data, followed by three characters, and end with .txt will be valid source files (data001.txt, data002.txt, ..., datannn.txt).

Both parameters will follow the regular path logic, which is the following:
If no path is specified, it will first look in the working folder, then it would look into the different folders defined by the environment variable "PATH".
You can use a relative path from the working folder, like "..\Data\Data.txt" or "Text\Data.txt"
You can also use an absolute path, like "C:\Beyond2020\Data\Data.txt" or "C:\Beyond2020\Builder\Text\Data.txt"

So, in your example, it would look for "Data.txt" in the working folder, then in the folders defined by the "Path" variable. it would also ignore your FilePath parameter since no multiple source files were specified.

I guess you wanted to use D:\Industry\Data.txt as your source file, therefore, your IVU input section should have looked like this:

[Input]
Definition=IVPLUS.DLL
Source=D:\Industry\Data.txt
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
      Topics Author Date
    thread link
What's the difference between Source and FilePath?
PTWillis 2009/10/20 10:33
    thread link
thread linkthread link Re:What's the difference between Source and FilePath?
Gilles Russell 2009/10/20 14:56
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Designed by Edge Design and Marketing