Klovis Posted July 16, 2011 Share Posted July 16, 2011 Well I have two computers and I test out alot of scripts so the whole flash drive thing gets on my nerves, so I'm wondering if I could have a TCP server on a computer and send my scripts through a client and the computer would run them. It's kinda like ftp but not really. I've only worked with tcp, but maybe a ftp download to a shell execute might work. Can someone help me with this? Link to comment Share on other sites More sharing options...
jaberwacky Posted July 16, 2011 Share Posted July 16, 2011 I used to do the whole flash drive thing too and then I just started stashing my scripts in the shared documents folder. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
JohnOne Posted July 16, 2011 Share Posted July 16, 2011 Sorry for being so niave, but can you define "the whole flash drive thing"? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
jaberwacky Posted July 16, 2011 Share Posted July 16, 2011 If I code a script on my desktop computer and then I want to test that script out on my laptop then I would plug the flash drive into my desktop, load the script onto a flash drive, eject the flash drive, unplug the flash drive, plug it into the laptop and then run the script and then eject it from the laptop unplug it, plug it into my desktop ad infinitum. Much easier to just send it through the network. Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Link to comment Share on other sites More sharing options...
JohnOne Posted July 17, 2011 Share Posted July 17, 2011 I see, so a shared drive makes sense then. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dexto Posted July 17, 2011 Share Posted July 17, 2011 (edited) I love how I'm not the only person that is annoyed with flesh drives in that way. In fact personal project I'm working on right now is Network Scripting Interface (NSI). Hit the roadblock right now that I came here for help with. Edited July 17, 2011 by dexto Link to comment Share on other sites More sharing options...
JohnOne Posted July 17, 2011 Share Posted July 17, 2011 I just email them to myself, and the laptop is only up a few steps. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dexto Posted July 17, 2011 Share Posted July 17, 2011 I just email them to myself, and the laptop is only up a few steps.Yeah. its not not problem when you deal with one computer. Lab of 30+ computers is not as simple . Link to comment Share on other sites More sharing options...
JohnOne Posted July 17, 2011 Share Posted July 17, 2011 Indeed, but a lab of 30+ computers really should be networked and have have a shared folder anyway. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dexto Posted July 17, 2011 Share Posted July 17, 2011 Indeed, but a lab of 30+ computers really should be networked and have have a shared folder anyway.Its not as simple as that. Link to comment Share on other sites More sharing options...
JohnOne Posted July 17, 2011 Share Posted July 17, 2011 Its not as simple as that.Forgie me if I'm wrong as I dont know a great deal about networks, but the way I see it, once you put a sctpt on a shared folder/disk then all 30 computers get instant access to it. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dexto Posted July 17, 2011 Share Posted July 17, 2011 Forgie me if I'm wrong as I dont know a great deal about networks, but the way I see it, once you put a sctpt on a shared folder/disk then all 30 computers get instant access to it.Don't take it wrong way shares are great. Imagine having a script that you need to run of 5 labs 30 computers each (with a share). Going to each one, finding a mouse... you back is not going to be happy. There ia always a startup/login/logoff/shutdown script and other ways to do it but each has to be planned way ahead. How about you get a call at home and u need to deploy a one-line fix..? In short in a lot of cases share alone is not enough. Link to comment Share on other sites More sharing options...
JohnOne Posted July 17, 2011 Share Posted July 17, 2011 I am probably missing something here (not unusual) But a one line fix would still only require the fix to be applied to one file on a shared drive. Just seems overly complicated to have a smancy TCP driven super solution to a simple problem. Anyway, I believe pexec has this sort of capability to execute code on a remote computer, but I'm not sure if its free to use. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
dexto Posted July 17, 2011 Share Posted July 17, 2011 > But a one line fix would still only require the fix to be applied to one file on a shared drive. In some cases, yes! psexec is a great tool (but as greedy as I am with features it lucks a lot) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now