SYNOPSIS
nutpath "path"
nutpath [pwd]
nutpath "path"
DESCRIPTION
The nutpath command converts a Windows-style path name with forward slashes to a NuTCRACKER Platform-style path name (for example, with the drive letter specified as /D=/ rather than D:/).
The buffer that nutpath points to should be at least as large as the buffer that the specified path name points to. Buffers should be allocated with PATH_MAX+1 characters. By default, the output is the present working directory followed by the specified path. For example, if the present working directory is E:/TCL/UNIX, the command line:
nutpath xyz
would produce the following output:
/E=/TCL/UNIX/xyz
RETURN VALUES
If successful, nutpath returns TCL_OK. On failure, it returns TCL_ERROR and displays an error message.
PORTABILITY
Windows 2000. Windows XP. Windows Server 2003. Windows Vista.
AVAILABILITY
MKS Toolkit for Power Users
MKS Toolkit for System Administrators
MKS Toolkit for Developers
MKS Toolkit for Interoperability
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
MKS Toolkit 9.2 Documentation Build 16.