$file.fixpath

Converts file paths
Usage
$file.fixpath(<filename>)
Description
Returns the <filename> adjusted to match the current operating system file path conventions.
This means that on UNIX , a path like "C:\folder\file.mp3" will be returned as "/folder/file.mp3" and vice-versa.
There is a minor problem with unix paths converted to the windows system: unix has no "drive" concept thus the unix paths do not contain a drive. KVIrc will always map the paths to the "default" C: drive.
This is a good reason to avoid using absolute hard-coded paths :).
Please note that you DON'T NEED to call this function on paths that you pass to the other file.* functions: they are adjusted automatically.
Syntax Specification
<string> $file.fixpath(<filename:string>)
See also
$file.ps

Index, Functions
KVIrc 4.0.3.4984 Documentation
Generated by builder at Fri Nov 12 01:12:46 2010