Jump to content

@scriptdir


Recommended Posts

this worked although dosent like a space in the actual @ScriptDir file path.

Runwait(@WindowsDir & '\SYSWOW64\wscript.exe ' & @ScriptDir & '\Inventory.vbs')

the reason I need to run this is to get a vbs file to write to a database on windows 7 64bit. unless you force it to run against the 32bit wscript in \SYSWOW64\ directory it wont write to the database. no proble on a 32 bit OS.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...