[archive] C$Fileinfo

[Migrated content. Thread originally posted on 30 September 2005]

Hello everyone,
I'm woandering about can I do a lookalike C$FILEINFO in a thin client environment. I mean C$FILEINFO doesen't support the
@[DISPLAY]: notation, so in if I've to check the presence of a certain file on a client path, I've to launch a C$SYSTEM with
csys-desktop attribute setted and the redirect it'output into a text file to parse. Not much handy and really slow.
Has someone an alternative idea to work it out?
Thanks In Advance and have a nice day, Giovanni
Parents
  • Hi Gisle, you're right:
    1st problem:
    there was an error in code I posted:
    if (u-w32-cFileName > 1)
    if (u-w32-cFileName <> low-values)
    move k-yes to uf-esito
    end-if
    end-if
    must be:
    if (u-w32-file-handle <> k-w32-invalid-handle)
    if (u-w32-cFileName <> low-values)
    move k-yes to uf-esito
    end-if
    end-if
    2nd problem, in data type, must be:
    78 k-w32-invalid-handle value 4294967295.
    and not = 1.
    ThakU as always, have a nice evening! Giovanni.
Reply
  • Hi Gisle, you're right:
    1st problem:
    there was an error in code I posted:
    if (u-w32-cFileName > 1)
    if (u-w32-cFileName <> low-values)
    move k-yes to uf-esito
    end-if
    end-if
    must be:
    if (u-w32-file-handle <> k-w32-invalid-handle)
    if (u-w32-cFileName <> low-values)
    move k-yes to uf-esito
    end-if
    end-if
    2nd problem, in data type, must be:
    78 k-w32-invalid-handle value 4294967295.
    and not = 1.
    ThakU as always, have a nice evening! Giovanni.
Children
No Data