I'm using this code to zip a folder
D:\VIRTUAL\consuladoperurio.com.br\WWW\siscons\test\wordtemplatedownload\pasta
into test.zip. The folder "pasta" has the follow tree
pasta
subfolder
styles.xml
When I run the code
$wordtemplatedownloadpath ="D:\\VIRTUAL\\consuladoperurio.com.br\\WWW\\siscons\\test\\wordtemplatedownload\\"
Zip($wordtemplatedownloadpath."pasta", $wordtemplatedownloadpath."test.zip");
and then extract test.zip I get the folder and file
respectively. When I need the first tree.
I'm trying to replace '/' to '\' but don't work. How I will be able to solve that?