Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Netware 4.11 Server Time
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Netware 4.11 Server Time
Divers
Thread ID:
00122462
Message ID:
00122462
Vues:
49
Hi all,

I need to pull the date and time off of a Novell 4.11 server. I don't want to purchase any 3rd party libs. (If you know of a freeware, I'm interested.) Anyway, (with some help on the idea) I put together a routine that would create a file on the server, get the date and time from it, then delete it. This works great until I realized that I was going to use up all of the deleted space on the server. Then I looked at running purge at the end of the routine, but I couldn't get rid of the finished box. Even if I use WinExec with the 0 parameter, after I run it, I had to Ctrl+Alt+Delete and End Task on Winoldap. (or something like that) Then I tried running SysTime and piping it into a file on the local drive. It works with the run command if I don't use the /N or /N7 (or any variation). I also tried it with the WinExec. If I WinExec SysTime, it works fine. But when I WinExec SysTime>FileName, WinExec returns 0. Any ideas on where to go next?

TIA
_________________________________
There are 2 types of people in the world:
    Those who need closure
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform