I want to make a shortcut/batch file to prompt for username/password and then for a specific directory to be opened in Windows Explorer. I'm using Windows XP.
The following prompts for the other PC's username/password and opens explorer to show Printers and Faxes/Scheduled Tasks (nearly there but not quite):
explorer.exe /e,/root,"\\150.204.104.25"
What I want to do is something like:
explorer.exe /e,/root,"\\150.204.216.26\",/select,"\\150.204.216.26\c$"
Unfortunately, all this does is show my own PC's C: drive.
Any ideas if this is possible (and if so where I'm going wrong)? Thanks.
Best Answer
You could map the other directory to a drive letter, and then open it in explorer. I don't recommend that you link to c:\, but if you need to...
LinkToFolder.bat (username and password need to be replaced with your username and password)