If FileExists($deflutpath) Then
;file exists
Else
$deflutpath = @ScriptDir ;file does not exist
EndIf
it should save to where the script is if the file does not exist did u change that part to @DesktopDir
and is this the right path the the xp videos folder C:\Documents and Settings\"&@UserName&"\My Documents\My Videos
if u look i made the defult out put fo vista its ok i can change that to check if its vista and if vista it will go to the vindos folder and if xp i make it go to where the videos folder is for xp 2 mins work