FileMapper

The FileMapper function, toNativePath(const QString&) will return the complete path of the passed path resolving shortcuts in windows. Will also convert the path separator to \.

The following is a list of the FileMapper functions:

toNativePath

Example

Your /usadata000 is mapped to a network drive through a shortcut

pointing to /server/path/usadata000

 

var remapped = fileMapper.toNativePath("/usadata000/file.txt");

 

remapped will be

 

\\server\path\usadata000\file.txt

Related Topics 

Scripting Reference