Search found 17 matches

by switchy
12 Feb 2019 22:02
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

The errors while installing Chocolatey are from having outdated versions of the .NET framework and powershell, the other errors are apparently from internet connectivity problems that wouldn't be affected by the version of the .NET framework. it installed perfectly... and actually i havre installed...
by switchy
12 Feb 2019 02:02
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

It's a program you install that lets you download software from various repositories, like how apt-get does. It's the closest thing you're gonna get. Actually it worked in install guide i have read how to install it from command promt : Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Ob...
by switchy
12 Feb 2019 01:57
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

still get an error Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request." At line:4 char:17 + $wc.DownloadFile <<<< ($source, $dest) + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : DotNetMethodException I...
by switchy
11 Feb 2019 13:22
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

ShadowThief wrote:
11 Feb 2019 04:53
I think you're thinking of Chcolatey. apt-get has not been ported to Windows.
what exactly doing chocolatey?
by switchy
11 Feb 2019 03:45
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

i have one question so i have powershell 2.0 is there possible to import some linux command line features, for example apt-get... i guess then i just could install php with apt-get install php, am i wrong?
by switchy
11 Feb 2019 01:45
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

still get an error Exception calling "DownloadFile" with "2" argument(s): "An exception occurred during a WebClient request." At line:4 char:17 + $wc.DownloadFile <<<< ($source, $dest) + CategoryInfo : NotSpecified: (:) [], MethodInvocationException + FullyQualifiedErrorId : DotNetMethodException
by switchy
10 Feb 2019 23:43
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

and in program files folder it will work?
by switchy
10 Feb 2019 16:35
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

i have windows 7 sp1... i want to install it on C:\windows\system32
by switchy
10 Feb 2019 15:24
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

ANother option would be using certutil for downloading: https://www.dostips.com/forum/viewtopic.php?f=3&t=8485 . penpen here is an error that is given by that utility: CertUtil: -URLCache command FAILED: 0x80072efd (WIN32: 12029) CertUtil: A connection with the server could not be established Works...
by switchy
10 Feb 2019 15:23
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

Default Windows permissions restrict you from writing directly to the root of the system drive. That has been in place since Windows Vista. So like well over 12 years already and is there possible to bypass it because php folder need to be in the system drive I never said or eluded to that you coul...
by switchy
10 Feb 2019 14:20
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

penpen wrote:
10 Feb 2019 14:05
ANother option would be using certutil for downloading:
viewtopic.php?f=3&t=8485.

penpen
here is an error that is given by that utility:
CertUtil: -URLCache command FAILED: 0x80072efd (WIN32: 12029)
CertUtil: A connection with the server could not be established
by switchy
10 Feb 2019 14:13
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

Squashman wrote:
10 Feb 2019 12:00
Default Windows permissions restrict you from writing directly to the root of the system drive. That has been in place since Windows Vista. So like well over 12 years already
and is there possible to bypass it because php folder need to be in the system drive
by switchy
10 Feb 2019 10:21
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

bitsadmin /transfer myDownloadJob /download /priority normal https://windows.php.net/downloads/releases/php-7.3.2-nts-Win32-VC15-x64.zip c:\10mb.zip that script gives an error : The connection with the server was terminated abnormally $source = 'https://windows.php.net/downloads/releases/php-7.3.2-...
by switchy
10 Feb 2019 01:29
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

well I have tried many variants and they all give errors:
the connection with the server was terminated abnormally
error code 0x80072efe bitsadmin
why it is so complicated ((
by switchy
09 Feb 2019 16:52
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 27352

Re: Download and unzip file Batch

here is the situation, so i have a few windows machines, i need a simple script that will figure the windows is 64 bit or 86 bit then if it is 64 bit download php archive for 64 bit machine and unzip it ... and if 86 bit download 86 bit php archive file and unzip it... that is possible yes? BitTrans...