It's not a question of the link, it's a question of than your code don't return a valid string on my computer.

A other problem is your method to get the dowload folder : "%HOMEDRIVE%%HOMEPATH% is the same of %USERPROFILE% and your code don't works if a user had moved the Download folder on other hard drive.

Apparently we can't use "Knowfolder" with JScript for get the Absolute PATH of Download or Movie folder..

The original code don't works on my computer...

Hi guys,

Here some lines to change in your svptube-dl.wsf for have the correct Title of the youtube movie as name of the downloaded mp4 :

Line 30 :
Replace

var videoURL,audioURL,subsURL;

By

var videoURL,audioURL,subsURL,varTitle;

Line 35 :
Replace

case 2: videoURL=WScript.Arguments(0); break;

by

case 2: videoURL=WScript.Arguments(0); varTitle=WScript.Arguments(3); break;

Line 56 :
Replace

fileName=WScript.Arguments(WScript.Arguments.length-1);

by

fileName=varTitle;

Enjoy