Search found 15 matches

by geronimo1
23 Apr 2019 23:57
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

thanks stephen
i know that its work for all
i shall continue to explore what is wrong on my computer
by geronimo1
23 Apr 2019 08:06
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

so i dont know what is the problem
by geronimo1
23 Apr 2019 02:00
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

thanks Stephen
in fact all my directories are in read only even if all the files inside can be modified
its the same on my both computers
i tried to close kaspersky but the same impossible to uncheck read only
i shall try to read on internet what is this bug with windows 10
by geronimo1
22 Apr 2019 13:41
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

after check uncheck modify back etc etc.... directories still in read only but now
on cmd

C:\>gzip -f -k -r c:\batchfiles\gzip\*
work perfectly

but

C:\>C:\batchfiles\GZIP\gz.bat file.css
Le client ne dispose pas d’un privilège nécessaire.

really i dont know how to solve
by geronimo1
22 Apr 2019 12:49
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

your batch ------ @echo off setlocal set "ext_o=.gz" if /i "%~x1" == ".css" set "ext_o=.csz" if /i "%~x1" == ".js" set "ext_o=.jgz" if /i "%~x1" == ".html" set "ext_o=.htz" gzip -c "%~dpnx1" > "%~dpn1%ext_o%" ------- non open in an editor ----- on my computer at home C:\>C:\BatchFiles\GZIP>gz.bat in...
by geronimo1
22 Apr 2019 06:47
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

i dont understand what yu want with cmd if i execute this command C:\>C:\BatchFiles\GZIP>gz.bat index.html Le client ne dispose pas d’un privilège nécessaire. C:\>C:\BatchFiles\GZIP>gz.bat file.css Le client ne dispose pas d’un privilège nécessaire. C:\>C:\BatchFiles\GZIP>gz.bat foobar.js Le client ...
by geronimo1
20 Apr 2019 00:53
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

C:\BatchFiles\GZIP>dir Le volume dans le lecteur C n’a pas de nom. Le numéro de série du volume est AEE0-7696 Répertoire de C:\BatchFiles\GZIP 20/04/2019 08:49 <DIR> . 20/04/2019 08:49 <DIR> .. 20/04/2019 08:49 0 .gz 12/04/2019 20:14 11 084 file.css 19/04/2019 08:40 207 gz.bat 3 fichier(s) 11 291 oc...
by geronimo1
19 Apr 2019 12:42
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

Le volume dans le lecteur D n'a pas de nom. Le num‚ro de s‚rie du volume est AED5-0530 R‚pertoire de D:\Documents\directory 19/04/2019 20:38 0 .gz 19/04/2019 08:40 207 gz.bat 16/04/2019 19:30 10˙167 index.html 3 fichier(s) 10˙374 octets 0 R‚p(s) 383˙203˙651˙584 octets libres -----------------------...
by geronimo1
19 Apr 2019 00:51
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

Le volume dans le lecteur D n'a pas de nom. Le num‚ro de s‚rie du volume est AED5-0530 R‚pertoire de D:\Documents\directory 19/04/2019 08:43 0 -c.gz 19/04/2019 08:43 0 .gz 16/04/2019 19:30 10˙167 file.css 19/04/2019 08:40 207 gzip.bat 19/04/2019 08:47 0 txt 5 fichier(s) 10˙374 octets 0 R‚p(s) 384˙2...
by geronimo1
18 Apr 2019 09:56
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

hello thanks again to try to help me so i am with windows10 in the same directory only your batch + index.html result: message without interruption: "Le niveau maximal de recursivité de set local a été atteint" so i stop then your batch, index.html, -c.gz, .gz (the two files -c.gz and .gz are 0 octe...
by geronimo1
17 Apr 2019 10:56
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

maximun level for set local was reached
by geronimo1
17 Apr 2019 08:25
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

hello with a single html file in the same directory than your batch i just got .gz o octet on a cmd command line -r mean recursive, -k mean keep file C:>"C:\Program Files (x86)\GnuWin32\bin\gzip.exe" -r -k D:\Documents\mydirectory i keep all the files and get all the files zipped in all directories ...
by geronimo1
17 Apr 2019 03:25
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

still thank siberian-man
now i just got
maximun level for st local was reached
nothing else happend
by geronimo1
16 Apr 2019 13:30
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

Re: gzip batch

A great thanks for your help siberia-man
i have installed gzip for windows with the setup
and by example

root/yourbatch.bat
root/index.html
root/js.js
root/file.css
root/firstdir/page1.html
root/firstdir/page2.html
root/2dir/page3.html
root/2dir/page4.html

nothing append

what is wrong?
by geronimo1
15 Apr 2019 11:39
Forum: DOS Batch Forum
Topic: gzip batch
Replies: 30
Views: 11551

gzip batch

Hello i would to make a batch to zip with gzip my (css, js, html) files which are into directories and subdirectories, i would also to conserve these files not zipped where they are i would that my zipped css files instead to be *.css.gz be *.csz my zipped js files instead to be *.js.gz be *.jgz my ...