Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-10 > #148350

Re: Why Windows 10 batch admin isn't the same as its GUI admin?

From Herbert Kleebauer <klee@unibwm.de>
Newsgroups alt.comp.os.windows-10, alt.comp.microsoft.windows, alt.msdos.batch
Subject Re: Why Windows 10 batch admin isn't the same as its GUI admin?
Date 2021-09-11 11:03 +0200
Organization Aioe.org NNTP Server
Message-ID <shhrcb$cgu$1@gioia.aioe.org> (permalink)
References <she5mh$17nl$1@gioia.aioe.org> <a9vljg9tspkefitk4ao7qr076t60ron1r1@4ax.com> <shgjd7$1206$1@gioia.aioe.org>

Cross-posted to 3 groups.

Show all headers | View raw


On 10.09.2021 23:40, Scott Lurndal wrote:

> Exact same one line batch file command is being run in both cases above.
>    freeopenvpn.bat
>    c:\path-to\openvpn\bin\openvpn.exe freeopenvpn.ovpn

> a. When it works, I type "freeopenvpn.bat" & [Enter] in an admin window.
> b. When it fails, I rightclick "freeopenvpn.bat" & run-as-administrator.

> For whatever reason, my "command prompt" is instantaneous.
> It disappears in a nanosecond so I can't tell what it's doing inside.

Then insert a "pause" command at the end of the batch file so the
window stays open.

And don't forget, when you run the batch by a right click, there is a
different working directory as when run in a command window. Insert
a cd command at the beginning of the batch to have the same working
directory as with you command window.

Back to alt.comp.os.windows-10 | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-10 02:34 +0300
  Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-10 19:08 +1200
    Re: Why Windows 10 batch admin isn't the same as its GUI admin? Paul <nospam@needed.invalid> - 2021-09-10 04:45 -0400
      Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 12:18 +0300
        Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 10:26 +0100
          Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 22:08 +0300
            Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 20:15 +0100
          Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-12 13:25 +0300
      Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-12 06:58 +1200
        Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 22:59 +0300
    Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 00:40 +0300
      Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 08:57 +0100
        Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 11:26 +0300
          Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 11:33 +0300
            Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 09:44 +0100
      Re: Why Windows 10 batch admin isn't the same as its GUI admin? Herbert Kleebauer <klee@unibwm.de> - 2021-09-11 11:03 +0200
        Re: Why Windows 10 batch admin isn't the same as its GUI admin? Andy Burns <usenet@andyburns.uk> - 2021-09-11 10:05 +0100
          Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-12 07:15 +1200
        Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 13:00 +0300
        Re: Why Windows 10 batch admin isn't the same as its GUI admin? Zaidy036 <Zaidy036@air.isp.spam> - 2021-09-11 17:29 -0400
          Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-12 09:48 +1200
            Re: Why Windows 10 batch admin isn't the same as its GUI admin? Paul <nospam@needed.invalid> - 2021-09-11 18:54 -0400
              Re: Why Windows 10 batch admin isn't the same as its GUI admin? Ralph Fox <-rf-nz-@-.invalid> - 2021-09-12 11:30 +1200
                Re: Why Windows 10 batch admin isn't the same as its GUI admin? Paul <nospam@needed.invalid> - 2021-09-11 23:47 -0400
          Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-12 06:00 +0300
            Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-12 12:11 +0300
  Re: Why Windows 10 batch admin isn't the same as its GUI admin? JJ <jj4public@gmail.com> - 2021-09-10 16:47 +0700
    Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-11 00:22 +0300
  Re: Why Windows 10 batch admin isn't the same as its GUI admin? Brian Gregory <void-invalid-dead-dontuse@email.invalid> - 2021-09-12 10:25 +0100
    Re: Why Windows 10 batch admin isn't the same as its GUI admin? Scott Lurndal <scott@slp53.sl.home> - 2021-09-12 14:34 +0300

csiph-web