dbecker Posted January 7, 2006 Share Posted January 7, 2006 I want to run a file from a server, but I'm not quite exactly sure how to go about this. I don't really know if this is close, but this is what I've got so far. Run (10.9.0.16 & "E:\Data Files\DavidTestFolder\XPPatch Installer.exe") anyone have any kind of help? "I wish I could say something that was classy and inspirational, but that just wouldn't be our style. Pain heals. Chicks dig scars. Glory lasts forever." - Shane Falco, The Replacements Link to comment Share on other sites More sharing options...
BigDod Posted January 7, 2006 Share Posted January 7, 2006 I want to run a file from a server, but I'm not quite exactly sure how to go about this. I don't really know if this is close, but this is what I've got so far. Run (10.9.0.16 & "E:\Data Files\DavidTestFolder\XPPatch Installer.exe") anyone have any kind of help?Why are you using an IP address and a drive letter, surely you do not need the IP address if you already have the drive mapped. If it was me I would map a drive then use FileGetShortName and the run the program. This is all dependant on you having the correct rights to the network folder. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother Link to comment Share on other sites More sharing options...
ChrisL Posted January 8, 2006 Share Posted January 8, 2006 I want to run a file from a server, but I'm not quite exactly sure how to go about this. I don't really know if this is close, but this is what I've got so far. Run (10.9.0.16 & "E:\Data Files\DavidTestFolder\XPPatch Installer.exe") anyone have any kind of help? If you were doing it this way with an IP it would be Run ("\\10.9.0.16\SharedFolderName\Data Files\DavidTestFolder\XPPatch Installer.exe") [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
schmidty1913 Posted January 8, 2006 Share Posted January 8, 2006 im doing the same thing the easiest way i found to do it is to use the name of the server and the shared folder like such Run("\\servername\sharedfolder\run.exe") Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted January 8, 2006 Moderators Share Posted January 8, 2006 im doing the same thing the easiest way i found to do it is to use the name of the server and the shared folder like such Run("\\servername\sharedfolder\run.exe") That is the easiest way, but don't forget to give it a working directory. Run("\\servername\SharedFolderName\Data Files\DavidTestFolder\XPPatch Installer.exe", @TempDir) 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