Jump to content

lan question


Aceguy
 Share

Recommended Posts

is it possible to get another pc on my lan to play a mp3 file (from that pc)

im guessing somehting like

ShellExecute("\\Ace-pc\music d\Bon Jovi - Its My Life.mp3")

will run the song from the script file PC. but what about running it from the other pc ( so it plays on target pc)

any ideas

Edited by Aceguy
Link to comment
Share on other sites

Hi

Look in help file DriveMapAdd() function

; Map X drive to \\myserver\stuff using current user

DriveMapAdd("X:", "\\myserver\stuff")

; Map X drive to \\myserver2\stuff2 using the user "jon" from "domainx" with password "tickle"

DriveMapAdd("X:", "\\myserver2\stuff2", 0, "domainx\jon", "tickle")

Link to comment
Share on other sites

You could make a listening/resident utility running on the PC. Maybe check for the existence of an ini file and shellexecute the command in it, if it finds it (then delete it)

So when you want, in the other PC you can write the ini with the command you want. Should be easy to do.

But there are utilities for remote administration anyway. Anyway, I just threw an idea, maybe there's a way to do it without using any proggy on the target PC.

Link to comment
Share on other sites

I would setup a small server with the TCP() functions, and run the client on your computer and send commands to the server; eg; exec("file.mp3"); and in the server have it play the file.

# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...