Ver Mensaje Individual
  #4  
Antiguo 03-09-2004
Avatar de roman
roman roman is offline
Moderador
 
Registrado: may 2003
Ubicación: Ciudad de México
Posts: 20.269
Reputación: 10
roman Es un diamante en brutoroman Es un diamante en brutoroman Es un diamante en bruto
No necesariamente. Te armas una función:

Código Delphi [-]
function OSPath(DosPath: String): String;
begin
  if OS_Es_Unix
    then Result := DosPathToUnixPath(DosPath)
    else Result := DosPath;
end;

Así, armas tu path al estilo Dos y al utilizarlo usas OsPath(DosPath).

// Saludos
Responder Con Cita