can someone make this work please VBScript!

Nuance Pdf converter 6 professional
January 28, 2010 at 08:00:29
Specs: Windows XP, 1.12GB RAM
Hello, i am currently making a little program
and i am making a installer out of
VBS and .ZIP.
I have made a code so far but it doesn't work
please could someone help?
here's my script

Set oShell = CreateObject("WScript.Shell")
pathstring = oShell.CurrentDirectory

set sa = CreateObject("Shell.Application")


basicaly what it does is extract a file that is in
the same directory as the script
and extracts it to c:/password but i cant get it
to work.

this bit is the only part that doesn't work!
because i have tried it when i type the
directory in manually

See More: can someone make this work please VBScript!

Report •

January 28, 2010 at 15:03:29
i might be that the quotes:

is causing pathstring to be treated as a literal, and not a variable, try echoing it out to a msgbox, both with and without the quotes and see what it looks like:
msgbox ("pathstring\" & pathstring\

Report •
Related Solutions

Ask Question