|23 Feb 2013||#1|
| || |
How do I enable %UserProfile% for scripting with Folder Redirection?
I'm experimenting with Folder Redirection and after getting it set up, I quickly realized that any VBS scripts that have environmental variables such as %UserProfile% become unusable.
A simple example:
'Place to deposit excel output file Depo=oShell.ExpandEnvironmentStrings("%userprofile%" & "\Desktop\Folder_This_User_Needs_Easy_Access_To\") if not objfso.folderexists(Depo) then objFSO.CreateFolder(Depo) end if
|My System Specs|
|Similar help and support threads for2: How do I enable %UserProfile% for scripting with Folder Redirection?|
|Offline files + Folder redirection||Network & Sharing|
|Desktop folder redirection||Network & Sharing|
|Windows 7 client changes folder redirection UNC path||Network & Sharing|
|Folder Redirection.||Network & Sharing|
|Folder redirection||Network & Sharing|
|Folder Redirection Problem||General Discussion|
|my documents folder redirection||General Discussion|
|Our Sites ||Site Links ||About Us ||Find Us |
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
All times are GMT -5. The time now is 06:32 PM.