Last active
June 13, 2016 13:02
-
-
Save stephanschulz/e255ea4dc3ff4e2e712aa9bf3ec94b43 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
char myScript[255]; | |
sprintf(myScript, "osascript -e 'try' -e 'mount volume \"smb://192.168.1.237/admin/Desktop\" as user name \"HERE_ADD_YOUR_USERNAME\" with password \"HERE_ADD_YOUR_PASSWORD\"' -e 'end try'"); | |
std::system(myScript); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment