General information
Category:
Coding, syntax & commands
>>&RUN lcRunCmd
>
>part of the problem is that the line should read:
>
>RUN &lcRunCmd
Sorry, that was a typo.
>
>Some things to be aware of:
>
>First, if an LFN contains a space, you MUST encapsulate the path in double quotes when passing it on the command line; IOW, if you want to reference the file:
>
>C:\My Program\Some Directory\ a file name.txt
>
>and put it in myZip.ZIp, the command line would have to read:
>
>PKZIP -a MyZip "C:\My Program\Some Directory\ a file name.txt"
>
>Second, PKZIP ius clueless about handling LFNs; you'll want to get the equivalent short file name for the long file name(s) or path(s) for use in your command line. There's sample code in the FAQ showing how to get the Short File Name of a Long File name using an API call (I wrote it) called How do I determine the Short version of a Long File Name under Win32 and Other APIs.
>
>Good luck!
As for your function. Liked it. Copied it. Used it. Thanks man, it works like a champ!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only