- 6,423
- 1,004
I want to start a program with the event sheduler in windows 7 when samba establishes a connection for a network drive. I am not a windows guy. How do I do this?
The discussion focuses on automating program execution in Windows 7 using the Event Scheduler when a Samba connection is established for a network drive. Users suggest leveraging Windows API documentation and utilizing a VBScript to periodically check for the existence of a file in the Samba shared folder. The consensus is that while directly triggering an event on Samba connection is complex, starting a program at login to monitor the drive's status is a viable workaround. This method allows for the execution of applications based on file presence in the shared directory.
PREREQUISITESThis discussion is beneficial for system administrators, developers working with cross-platform file sharing, and anyone looking to automate tasks in Windows 7 based on network drive events.
Samba is a Linux thing - it is a pun on the Server Message Block protocol used by earlier versions of Windows. I suggest you read up on https://en.wikipedia.org/wiki/Server_Message_Block and then get hold of some Windows API documentation. I suspect what you want to do is not easy (Microsoft do not want anybody to mess around with their code internals).DrDu said:I want to start a program with the event sheduler in windows 7 when samba establishes a connection for a network drive. I am not a windows guy. How do I do this?