stkelly2 Posted January 23, 2008 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
Swift Posted January 23, 2008 Posted January 23, 2008 Run() not sure exactly...or what a UNC path is...but Run() or ShellExecute() should run anything...
stkelly2 Posted January 23, 2008 Author 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
weaponx Posted January 23, 2008 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"')
stkelly2 Posted January 23, 2008 Author 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
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