Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open file in current dir 3

Status
Not open for further replies.

MoshiachNow

IS-IT--Management
Feb 6, 2002
1,851
IL
HI,

I have the following code inside my HTML file that opens a zip file in a given dir:

objShell.Run("""%ProgramFiles%\WinZip\winzip32.exe"" -e -o ""%userprofile%\Desktop\CREO-QZEDR9JVHI_20070130_sys.zip"" c:\TEMP")

I actually would like the code to open a zip file from my current dir - the one where the HTML files resides in.Something like:

objShell.Run("""%ProgramFiles%\WinZip\winzip32.exe"" -e -o "QZEDR9JVHI_20070130_sys.zip" c:\TEMP")

But it does not seem to find the zip file now ...
Appreciate any advice.
Thanks



Long live king Moshiach !
 
You're absolutely right about the URL encoding issue. I don't know how many times I've fixed that over and over again.

*Sigh*

One more time. At least you helped me find another HTA I had the old code in yet! Thanks.

Glad you solved your problem too!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top