Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem with pwzip when there is a space in directory name

Status
Not open for further replies.

tpq

Programmer
Apr 2, 2003
12
US
It seems that pwzip does not like space in directory name.
Is there a way do this with pwzip. And by the way what is purpose of the `x01 characters in the that follow target path and source path in pwzip command line?

I tried the folowing and can't get it to work:

source = "c:\aspect\scripts\*.was
target = "c:\backup\system1 script\backup
strfmt cmd "c:\aspect\pwzip.exe %s`x01 %s `x01 -c" target source

run cmd

but when I change the directory name from "system1 script" to "system1script" the it works just fine

Unfortunaly I can't change the directory name which alreay defined by the systeam administrator. Therefore I need to figure out how make this work

Thanks
 
I had run into this problem once before and worked around it by using the shortpath command to get the 8.3 equivalent of the directory name, and then used that in my command line.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top