Login | |
|
 |
RE: current folder & HTA files - 4/4/2006 4:32:02 AM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1184
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: offline
|
Whereever I place the .hta, it gives me a msgbox with it's current location.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: current folder & HTA files - 4/4/2006 4:42:28 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
quote:
ORIGINAL: sorex maybe it's that irritating "Do you want to run or save this file? open save cancel" pop-up that's messing up things? it also says "file download" in it's title bar while the script is on my c: drive Sorex, This happens when you click a link to request the HTA file, then Windows tries to open it from IExplore and want's it to be downloaded. You must run the HTA manually in order for it to bypass the security (like EBGreen says) Snipah PS. your script Xample worked fine for me...(Windows XP SP2)
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: current folder & HTA files - 4/4/2006 6:26:03 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
Assuming you are using the latest WMI version....there is nothing left to do but checking your File Types in Tools -> Folder Options -> Filetypes and see what is running when firing an HTA file.... Let us know..
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: current folder & HTA files - 4/4/2006 11:37:09 AM
|
|
 |
|
| |
Cybex
Posts: 412
Score: 0
Joined: 9/14/2005
From: Florida
Status: offline
|
When both are run from "C:\Documents and Settings\Cybex\My Documents\AdminScriptEditor"... When I run it as HTA I get "C:\Documents and Settings\Cybex" When I run it as VBS I get "C:\Documents and Settings\Cybex\My Documents\AdminScriptEditor" Cybex Are you running these from inside an editor? I noticed that the HTA works fine when I close ASE and run it by double clicking the HTA file. But from within ASE I get the shortened return. Try closing any editor and just run it normally.
< Message edited by Cybex -- 4/4/2006 11:42:28 AM >
_____________________________
Common sense is not so common.
|
|
| |
|
|
|
 |
RE: current folder & HTA files - 4/6/2006 2:02:24 AM
|
|
 |
|
| |
Country73
Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
Is this HTA located on your machine, or are you running this from a server or remote machine? HTA's are designed to run locally and I only receive that message, you are describing, if I do not run it locally.
|
|
| |
|
|
|
|
|