Help with statement that fails to compile

:x
I had this working but for reasons I cannot figure out, the following statement fails with a false error that the ‘file’ is not found (its a folder not a file):


set web_folders to (folders of alias "/Volumes/USER1/Common/Web-updates") as alias list

Can some kind soul help me find what is wrong with this? TIA.

:oops:

Nevermind. Sorry but I just realized the problem is the ‘/’ instead of ‘:’. Although that does not explain why it used to work.