Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!hellgate.utah.edu!cs.utexas.edu!uwm.edu!psuvax1!rutgers!elbereth.rutgers.edu!ssdesai From: ssdesai@elbereth.rutgers.edu (Sunil S. Desai) Newsgroups: comp.sys.ibm.pc Subject: Clipper - DOS variable help needed. Keywords: Clipper, DOS Message-ID: Date: 10 Jan 90 19:08:57 GMT Organization: Rutgers Univ., New Brunswick, N.J. Lines: 20 Hi! This is for Clipper programmers. How do you access DOS variable from Clipper application? I am writing a network application that need to know the user name for certain operations. What I am trying to do is use DOS SET command to SET USER=SUNIL from NetWare login script and then read USER variable from Clipper to do some operations. I have Funcky and NetLib clipper libraries. Funcky does not have any functions to access DOS variables. NetLib has a Whoami function that can return the user's login name but I am trying to avoid extra overhead of linking NetLib library for just one function. Any suggestions or pointers to such utility are most welcome. Thanks in advance. sunil ~~~~~