Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
How to mount Windows drives using script
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="susja" data-source="post: 1936128" data-attributes="member: 411384"><p>Hello,</p><p>I am running MacBook Pro 2020 macOS 12.6.8</p><p>This is not mine but business laptop. I don't have admin privileges and I'm standard user.</p><p>I am connecting to business network using VPN (Cisco Anyconnect)</p><p>VPN lasts 24 hours ( for security reason) hence every morning I have to re-connect.</p><p>I have 5 server in the network that I have to be connected. They all are Windows.</p><p>Every morning I have to mount it again.</p><p>Initially I used Finder - Go - Connect to Server and start connections.</p><p>Now I created a file which has 5 lines like open "smb://server" and it establishes connections to all server when I execute the file.</p><p>This is much more convenient for me.</p><p>Now I have 2 questions:</p><p>1. where would you recommend me to place the file. For now I placed it on Desktop but I'd prefer if it runs every time when I start VPN or etc. i.e. not manually but automatically</p><p>2. at the end of execution I have opened Finder window. Could I put something in the file in order to close that Finder window.</p><p></p><p>Thanks in advance</p></blockquote><p></p>
[QUOTE="susja, post: 1936128, member: 411384"] Hello, I am running MacBook Pro 2020 macOS 12.6.8 This is not mine but business laptop. I don't have admin privileges and I'm standard user. I am connecting to business network using VPN (Cisco Anyconnect) VPN lasts 24 hours ( for security reason) hence every morning I have to re-connect. I have 5 server in the network that I have to be connected. They all are Windows. Every morning I have to mount it again. Initially I used Finder - Go - Connect to Server and start connections. Now I created a file which has 5 lines like open "smb://server" and it establishes connections to all server when I execute the file. This is much more convenient for me. Now I have 2 questions: 1. where would you recommend me to place the file. For now I placed it on Desktop but I'd prefer if it runs every time when I start VPN or etc. i.e. not manually but automatically 2. at the end of execution I have opened Finder window. Could I put something in the file in order to close that Finder window. Thanks in advance [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
How to mount Windows drives using script
Top