user2756639
user2756639

Reputation: 17

Can I execute a remote placed .vbs file using wscript command?

I have tried using the wscript command with local file share and it works perfectly.

Ex: wscript \\192.168.10.1\script\hello.vbs

Is there any way I can run the file from remote HTTP server?

Something like: wscript http://192.168.10.1/script/hello.vbs

TIA

Upvotes: 0

Views: 1410

Answers (1)

Jaxhead
Jaxhead

Reputation: 69

wscript.exe does not support calling VBScripts directly from an URL. Why not use the FTP server?

Why do you want to use the HTTP? An solution for you could be, if you have it hosted on an NAS, try to open ports so that you can access it from your IP adres.

I could help you with it if you need it, but you need to give some more details about the hardware (NAS/Router)

Upvotes: 1

Related Questions