www.icetips.com  Icetips Utilities Documentation 5/9/2015    

Core Class: UnixToWindowsPath

Previous  Top  Next  


Prototype:  (String pUnixPath),String

 

pUnixPathPath with / separated directory or folder names.

 

ReturnsPath with \ separated directory or folder names.

 

This method is useful when duplicating paths on a local machine and on a server. 

 

Example:

 

ITC  ITCoreClass

ServerPath  CString(256)

LocalPath   CString(256)

Code

! Path() returns 'C:\Clarion\Apps\MyApp'

ServerPath = '/images/thisimage.png'

LocalPath  = Path() & ITC.UnixToWindowsPath(ServerPath)

! LocalPath is now: 'C:\Clarion\Apps\MyApp\images\thisimage.png'

 

 

See also:

WindowsToUnixPath

 

 

 



Direct link to this page: http://www.icetips.com/manuals/utilities/unixtowindowspath_core.htm