![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Library function fileGoodPath_ Topic Summary: Created On: 22-Jun-2005 08:52 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Try the attached. dosPathName() converts a unix (or DOORS) style path to a DOS or windows style path by replacing '/' with '\\'. unixPathName() does the reverse. | |
![]() |
|
Hello,
I am looking for a reference on the library function: fileGoodPath_ does any body know what this function does, and how? Best Regards, Edwin Buisman. |
|
![]() |
|
![]() |
|
This function returns a properly formatted path to a given directory. It is defined in DOORSHOME/lib/dxl/utils/fileops.dxl.
See libhtml.dxl in the same directory for an example of how it is used. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
This is OK, but now a new problem.....
c:/directory/file.ext Should be: c:\directory\file.ext I get directory from: string mpath = path (ModuleItem) The filename from: string mName = name (ModuleItem) .... How do I create the right path (for Windows) from these two functions. Edited: 22-Jun-2005 at 11:15 by Edwin Buisman |
|
![]() |
|
![]() |
|
Try the attached.
dosPathName() converts a unix (or DOORS) style path to a DOS or windows style path by replacing '/' with '\\'. unixPathName() does the reverse. ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Library function fileGoodPath_
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.