Jump to content
Sign in to follow this  
stkelly2

Launching a .VBS file

Recommended Posts

stkelly2

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

Share this post


Link to post
Share on other sites
Swift

Run()

not sure exactly...or what a UNC path is...but Run() or ShellExecute() should run anything...

Share this post


Link to post
Share on other sites
stkelly2

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

Share this post


Link to post
Share on other sites
weaponx

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

Share this post


Link to post
Share on other sites
stkelly2

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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×