I cant get it to work.
The script extrakt the correkt path and when it should copy it just blinks and script finish
The script extrakt the correkt path and when it should copy it just blinks and script finish
Code:
Dim value1, ws, strAstart, WSHshell
Set ws = WScript.CreateObject("WScript.Shell")
value1 = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\"
strAstart = ws.RegRead (value1 & "Common Startup")
Call ws.Run("cmd.exe /c copy c:\join.vbs " & strAstart &"\ /Y")