Re: creating complete file path



Al Dunbar wrote:
And we could further reduce the redundant outer parens:

SmartCreateFolder WSHShell.ExpandEnvironmentStrings
("%SystemDrive%\Program Files\Name1\Name2" )

Or even:

SmartCreateFolder
WSHShell.ExpandEnvironmentStrings("%ProgramFiles%\Name1\Name2" )

Good points but %SystemDrive% and %ProgramFiles% variables do not exist in
Windows 98, therefore I had only read the code without testing. :(

--
Todd Vargo
(Post questions to group only. Remove "z" to email personal messages)

.


Loading