MontyV
asked on
How to add multiple network drives?
How do I modify this to network multiple drives?
https://www.experts-exchange.com/questions/21406313/Log-on-script-to-map-drives-but-delete-already-mapped-drives.html
- Monty
https://www.experts-exchange.com/questions/21406313/Log-on-script-to-map-drives-but-delete-already-mapped-drives.html
- Monty
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Works good. Is there a way to set this up without the message box popping up. I realized it may have worked well if it was one drive but now I have about four drives popping up. What do I remove if I don't want any message box to pop up only just to map the drives without the user having to click ok every single time.
-Monty
-Monty
You could either remove (comment) the "Wscript.Echo" statements, or execute the script like this:
cscript /nologo mapdrives.vbs
If you merely type in "mapdrives.vbs" the system will, by default, execute it using "wscript" which executes the "Wscript.Echo" statements in a modal-windows manner just like Wscript.Popup.
-- Lynn
cscript /nologo mapdrives.vbs
If you merely type in "mapdrives.vbs" the system will, by default, execute it using "wscript" which executes the "Wscript.Echo" statements in a modal-windows manner just like Wscript.Popup.
-- Lynn
ASKER
Thank you for the quick responses Lynn.
You're welcome, Monty... thanks again for the grade.
Lynn
Lynn
ASKER
Lynn how proficient are you with VBA Excel? You seem pretty verse and I would love some help with this question if you have time.
https://www.experts-exchange.com/questions/21405073/Excel-Force-closing-sheet-after-saving-file.html
- Monty
https://www.experts-exchange.com/questions/21405073/Excel-Force-closing-sheet-after-saving-file.html
- Monty
Sorry, Monty... I know next to nothing about using VBA as a macro language inside other apps.
-- Lynn
-- Lynn
SUBST