Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Netware 4.11 Server Time
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Netware 4.11 Server Time
Miscellaneous
Thread ID:
00122462
Message ID:
00122462
Views:
48
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
Next
Reply
Map
View

Click here to load this message in the networking platform