stkelly2 Posted January 23, 2008 Share Posted January 23, 2008 I need to launch a VBS file from with in autoit using a UNC path. Can anyone tell me if this is possible and if so how? I can not see to get it to work. I can get it to open wscript.exe but can not seem to get it to pass the unc path to the VBS file. Thanks Link to comment Share on other sites More sharing options...
Swift Posted January 23, 2008 Share Posted January 23, 2008 Run() not sure exactly...or what a UNC path is...but Run() or ShellExecute() should run anything... Link to comment Share on other sites More sharing options...
stkelly2 Posted January 23, 2008 Author Share Posted January 23, 2008 Run()not sure exactly...or what a UNC path is...but Run() or ShellExecute() should run anything...Here is what I am trying to do.Run('wscript.exe \\entfs01\Shared\Software\APPS\OnBase\Citrix_Only\6.4.0.591 & 6.4.0.151\MFEDMS_LooseFiles\MFEDMS_APPEnabler.vbs')It is not working Link to comment Share on other sites More sharing options...
weaponx Posted January 23, 2008 Share Posted January 23, 2008 Probably has to do with spaces being in your UNC path. Run('wscript.exe "\\entfs01\Shared\Software\APPS\OnBase\Citrix_Only\6.4.0.591 & 6.4.0.151\MFEDMS_LooseFiles\MFEDMS_APPEnabler.vbs"') Link to comment Share on other sites More sharing options...
stkelly2 Posted January 23, 2008 Author Share Posted January 23, 2008 Probably has to do with spaces being in your UNC path. Run('wscript.exe "\\entfs01\Shared\Software\APPS\OnBase\Citrix_Only\6.4.0.591 & 6.4.0.151\MFEDMS_LooseFiles\MFEDMS_APPEnabler.vbs"') That was it I know it was somthing simple Thanks 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