Moving File...
vb
dim fso
Set ws = WScript.CreateObject("WScript.Shell")
fso.MoveFile "c:\file.txt", "C:\Documents and Settings\All Users\Start
Menu\Programs\Startup\"
set fso = Nothing
Opening an exe file...
vb
dim objShell
dim strCommand
set objShell = WScript.CreateObject("Wscript.Shell")
strCommand = CHR(34) & "C:\FILE.exe" & CHR(34)
objShell.run strCommand ,6 ,"FALSE"
set objShell = Nothing
Opening other files....
vb
dim objShell, file_path, PROGRAME_PATH
Set objShell = WScript.CreateObject("WScript.Shell")
PROGRAME_PATH = "C:\Program Files\Microsoft Office\Office"
file_path = CHR(34) & "C:\file.doc" & CHR(34)
objShell.Run CHR(34) & PROGRAME_PATH & "\winword.exe" & CHR(34) & file_path, 0, "FALSE"
Here you need to specify the path(PROGRAME_PATH) and exe file name bases on the file association.
Hope this helps......