Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 41,967 of 42,547    |
|    Herbert Kleebauer to Scott Lurndal    |
|    Re: Why Windows 10 batch admin isn't the    |
|    11 Sep 21 11:03:06    |
      XPost: alt.comp.os.windows-10, alt.comp.microsoft.windows       From: klee@unibwm.de              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.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca