hi,
i'm trying to put contect of a folder (file list) into a text file using HTA/vbs to be used in a pull-down menu. i get an error msg when i use this code:
is there anyway of doing this using filesystemobject or calling another vbs to do it?
i'm trying to put contect of a folder (file list) into a text file using HTA/vbs to be used in a pull-down menu. i get an error msg when i use this code:
Code:
Set wshshell = WScript.CreateObject("WScript.Shell")
wshshell.Run("cmd.exe /c dir c:\visdb data\*.* > c:\a_temp\test.txt")