Filehost.ro - gazduire fisiere
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
dannutzza
Femeie
25 ani
Mehedinti
cauta Barbat
25 - 52 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[VBS, HTA] Open Files & Folders Using HTA File

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 960
Shellexecute info:
https://ss64.com/vb/shellexecute.html

Simple code to open a folder from within a HTA application:

Sub GD
Dim objShell
Set objShell = CreateObject("Shell.Application")
    objShell.ShellExecute "D:\AAAAA 365\BBBBBB 1\CCCCCC 1\DDDDDDDDD 1\", , , NORMAL_WINDOW
End Sub


And the required HTA code:
<input type="button" value="Button name" name="run_button" onClick="GD" style="background-color: lime;">


 
   
Pagini: 1  
Mergi la