![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Copy Files to GMail Drive Is there any way we can use the powershell to copy files to "Gmail Drive" (http://en.wikipedia.org/wiki/Gmail_Drive). Basically the Gmail Drive create a special folder under My computer which you can access through windows explorer but it is not accessible from command prompt or WSH. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Copy Files to GMail Drive I did a lot of digging around the IDropTarget interface and "verbs" when I was trying to figure out how to invoke the Send To -> Mail Recipient shell extension. It really opened my eyes to how a lot of the things in the shell work. If you can drag files into the GMail drive and if you can get to the shell namespace you should be able to automate it by simulating file drops. But I won't kid you, it's not trivial. You should start by digging around on MSDN for the Shell.Application object. That would probably be your entry point. Josh "Hamid" <hamid.qureshi@xxxxxx> wrote in message news:7225507c-adb2-45a8-aa09-586a2529d9ff@xxxxxx Quote: > Is there any way we can use the powershell to copy files to "Gmail > Drive" (http://en.wikipedia.org/wiki/Gmail_Drive). > > Basically the Gmail Drive create a special folder under My computer > which you can access through windows explorer but it is not accessible > from command prompt or WSH. > |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Copy Files to GMail Drive The help file for Gmail Drive actually shows a demo WSH script using the technique Josh was suggesting would work. I'm not that familiar with the tool, but using the script as an example, I worked out how to correctly start up and spawn the log on dialog. $sa = New-Object -ComObject Shell.Application $Gmail = $sa.NameSpace(0x11).Items() | ?{$_.Name -eq "Gmail Drive"} $Gmail.Verbs() | ?{$_.Name -eq "Login As..."} | %{$_.DoIt()} At that point, $Gmail should be a COM object equivalent to the myGmail variable in the help file script, with CopyHere() functionality, etc. "Hamid" <hamid.qureshi@xxxxxx> wrote in message news:7225507c-adb2-45a8-aa09-586a2529d9ff@xxxxxx Quote: > Is there any way we can use the powershell to copy files to "Gmail > Drive" (http://en.wikipedia.org/wiki/Gmail_Drive). > > Basically the Gmail Drive create a special folder under My computer > which you can access through windows explorer but it is not accessible > from command prompt or WSH. > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Certain files refuse to copy from C drive to USB drive | Vista hardware & devices | |||
| Search c drive and copy files of a certain extension | VB Script | |||
| Ultimate: it takes forever to copy files to another drive.. | Vista General | |||
| Vista drive has problem, want to copy files to new drive, HOW?? | Vista security | |||
| Vista extremely slow to copy files to network drive | Vista General | |||