|
I have a program that I want to
make platform independent between Windows and Unix. It needs
to get a folder/directory listing (Windows - dir, Unix - ls)
so it needs to know what OS it's on.
Executed "hostname" returns XP on my XP box (I don't know what it returns on other Windows or Unix/AIX/Linux) SYSTEM(1017) returns WINNT on my XP box (I don't know what it returns on others Windows or Unix/AIX/Linux) Environment variable JBCDEV_BIN result contains \ on Windows, / on Unix (very kludgy) What methods do you use to determine what OS you're on? Thanks, Charlie Noah
Tiny Bear's Wild Bird Store -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en |
- ICONV Question Charlie Noah
- Re: ICONV Question Kevin Powick
- Re: ICONV Question Charlie Noah
- Re: ICONV Question Kevin Powick
- Detect OS Charlie Noah
- RE: Detect OS Dan Ell
- Re: Detect OS Daniel Klein
- Re: Detect OS Daniel Klein
- Re: Detect OS Kevin Powick
- Re: Detect OS Charlie Noah
- Paste Data Into A Web Form Charlie Noah
- RE: Paste Data Into A Web Form doug chanco
- Re: Paste Data Into A Web Form Kevin Powick
- Re: Paste Data Into A Web Form Charlie Noah
- Re: Paste Data Into A Web Form Bob Coleman/FCA
