Answered
Reading "target" properties for shortcuts
Hi all,
I have been assigned the task of listing the filenames and the "targets" or "start in" properties for the shortcuts in a folder that is full of shortcuts. 1800 of the to be exact. To do them by hand would pretty much kill me! haha
I was able to find help online with a wonderful little batch file that lists the file names of a folder and writes them to a text file. This puts me halfway there but I can also do this with ColdFusion.
I need to update that little batch file or write/find a ColdFusion script or template that would also include the "target" or "start in" property of each shortcut. (*right click/properties of the shortcut to view properties)
I also have CFDIRECTORY to list the file names in the folder but I can't figure out how to list the "target" or "start in" paths for each short cut. I would 100% prefer CFM but I don't know if it can be done?
My goal is to take the "file names" and "targets" for each of the 1800 shortcuts into a text document and import that list into a database to make the information available and searchable on our intranet.
I think .csv rather than .txt file would be best for this but I can work with any list if I could just figure out how to get the freakin' filename AND target for each shortcut into a list that I can import to SQL.
So, if you know how to read a folder to get the names of the files in that folder AND read the target of the shortcuts in that folder i will be your bestist buddy in the whole world!!
Im 100% fully stuck and I am at the mercy of this form for a solution.
If all else fails I will copy and paste each item link by line. That would be bad.
thanks
-jes
I have been assigned the task of listing the filenames and the "targets" or "start in" properties for the shortcuts in a folder that is full of shortcuts. 1800 of the to be exact. To do them by hand would pretty much kill me! haha
I was able to find help online with a wonderful little batch file that lists the file names of a folder and writes them to a text file. This puts me halfway there but I can also do this with ColdFusion.
I need to update that little batch file or write/find a ColdFusion script or template that would also include the "target" or "start in" property of each shortcut. (*right click/properties of the shortcut to view properties)
I also have CFDIRECTORY to list the file names in the folder but I can't figure out how to list the "target" or "start in" paths for each short cut. I would 100% prefer CFM but I don't know if it can be done?
My goal is to take the "file names" and "targets" for each of the 1800 shortcuts into a text document and import that list into a database to make the information available and searchable on our intranet.
I think .csv rather than .txt file would be best for this but I can work with any list if I could just figure out how to get the freakin' filename AND target for each shortcut into a list that I can import to SQL.
So, if you know how to read a folder to get the names of the files in that folder AND read the target of the shortcuts in that folder i will be your bestist buddy in the whole world!!
Im 100% fully stuck and I am at the mercy of this form for a solution.
If all else fails I will copy and paste each item link by line. That would be bad.
thanks
-jes
