Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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"')
Posted

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

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
×
×
  • Create New...