Re: Getting system uptime on Windows



I used [net.exe use] from wish (WinXP). It was work ok.
Now I use [twapi::connect_share], but it is an other saga...

Ilya


"Leopold Gerlinger" <leopold.gerlinger@xxxxxxxxxxx> wrote in message
news:dmh37r$el5$1@xxxxxxxxxxxxxxx
> Puh!
>
> It seems that the 'NET' command is only working from a console window
> correctly. I tried several ways to capture the output (e.g. redirecting to
> a file) but none of them worked. Also one can see a DOS box flicker when
> calling the command from wish. For me the NET command is programmed in a
> way like: "If I'm not started from the console, let's open it by myself"
>
> That way it sure prevents capturing the output. I also tried opening a
> pipe or calling it indirectly with 'exec cmd.exe /c ...'. None of them
> worked. Seems we have to thank Big Bill once more ;-)
>
> Regards - Leo
>
>


.



Relevant Pages

  • Re: Automated Deployment Services and VSMT
    ... I put the target and master server in the same switch. ... Ran the capture and it worked fine. ... > command to return the geometry of your hard-disk. ...
    (microsoft.public.windows.server.setup)
  • Re: Catching errors in a shell scripts
    ... and `command` (incidentially I find ... doesn't capture standard error. ... to make the output escape ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (Ubuntu)
  • Re: [SLE] The "cp" command is skipping files/dirs over nfs
    ... you can capture any output to a file. ... The best way I can think of for seeing it also, is to tail the capture file. ... To be able to see the stuff as it is written to the file, call the command (on ... On Wednesday 19 April 2006 10:59 am, James D. Parra wrote: ...
    (SuSE)
  • Re: Catching errors in a shell scripts
    ... and `command` (incidentially I find the ... capture standard error. ... $alloutput" mktemp generates a random filename, ... Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org ...
    (Ubuntu)
  • Re: Command Line and Video Capture/Tuner Cards
    ... A tool to capture single/multiple images or record movies from a video4linux ... command one of those video capture/tuner cards to begin recording ...
    (Debian-User)