PureBasic Forum
http://forums.purebasic.com/english/

How can I run this shell line in PB?
http://forums.purebasic.com/english/viewtopic.php?f=15&t=70585
Page 1 of 1

Author:  Wolfram [ Tue Apr 17, 2018 7:42 pm ]
Post subject:  How can I run this shell line in PB?

How can I use the following line with RunProgram()?

Code:
cd /Users/YourName/Desktop/MyFolder; zip -r -X "MyZip.zip" *


This line puts everything inside of MyFolder into a zip file without the path.

Author:  Desynchronised [ Wed Apr 18, 2018 4:10 pm ]
Post subject:  Re: How can I run this shell line in PB?

Wolfram wrote:
How can I use the following line with RunProgram()?

Code:
cd /Users/YourName/Desktop/MyFolder; zip -r -X "MyZip.zip" *


This line puts everything inside of MyFolder into a zip file without the path.


Check out the packer.pb example in help files.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/