Moving a _Download file failing

(imported topic written by SystemAdmin)

So I’m trying to put a url file into the All Users startup folder. For some reason, Windows doesn’t like url files in the All Users startup folder, so I’m trying to move a shortcut to it.

I’ve pre-generated the shortcut and hosted it on one of ours servers. This is the code:

{code}delete _Download\EncryptionPage.lnk

delete c:\EncryptionPage.url

createfile until ENDOFFILEMARKER

InternetShortcut

URL=http://URL.com

IconFile=C:\windows\system\url.dll

IconIndex=1

ENDOFFILEMARKER

move __createfile “C:\EncryptionPage.url”

download http://ServerName/Uploads/EncryptionPage.lnk

move _Download\EncryptionPage.lnk “C:\Documents and Settings\All Users\Start Menu\Programs\Startup\EncryptionPage.lnk”

{/code}

The problem comes with the Move command at the very end. It fails with a ‘runtime error’.

Am I calling the move function incorrectly? Does anyone have a better way to open a webpage at startup?

Thanks!

(imported comment written by NoahSalzman)

__Download

versus

_Download

Perhaps?

(imported comment written by SystemAdmin)

Yup, I feel like an idiot. Thanks!