Avatar of Glenn M
Glenn M
Flag for United States of America

asked on 

VB Script can't seem to read long file names or names with spaces in it.

VB Script is choking on the long file name format we are using. The portion "1. Awaiting Director Signature" hangs up the script, as it has too many spaces and obviously exceeds formating. How can overcome this naming issue, without renaming the folder?

arrFolders = Array( "\\company\Shares\Departments\Information_Technology\Public\Purchasing\1. Awaiting Director Signature" )

Open in new window

VB ScriptWindows BatchScripting Languages

Avatar of undefined
Last Comment
Glenn M

8/22/2022 - Mon