View Full Version : Creating a custom "SendTo" option...
Alain Dekker
December 26th 03, 09:10 PM
Hi,
I've read that at least on older Windows OSes, you could go to the SendTo
folder, right-click and choose "New Shortcut". You could give the command
line as:
shortcut -t
Save it, open its properties and in the "Start in" section, give it the path
(example):
C:\Test
Now, lets say you rename the shortcut "Create shortcut in Test". Now, you
can right-click any file, and on the "SendTo" part of the popup menu, you
can select this file, and hey presto, a shortcut is created in C:\Test.
I've tried this approach on XP from the C:\Documents and
Settings\MYNAME\SendTo folder, and XP doesn't like it. It tries to validate
the file target, and gets stuck every time. I also notice that XP mothers
you a lot - you can't even press the OK button if you say "Start In"
"C:\Fred", and are going to create this folder, but its not there yet.
Anybody know how to do this on XP?
Thanks,
Alain
Mark L. Ferguson
December 26th 03, 09:11 PM
What you want is best done with scripting (Windows Script Host) If you are
interested in going into the details of the shift in paradigm to scripting,
(from batch file work), I would say this forum is only a place to begin.
--example.js---
var fso = new ActiveXObject("Scripting.FileSystemObject");
var fout = fso.CreateFolder("c:\\my_dir");
--end---
Creating the code to accept the dropped file as argument, opening a dialog for
input, and testing for errors, are all techniques found by looking at code
examples for scripting, and perhaps reading the scripting newsgroups.
http://msdn.microsoft.com/library/en-us/script56/html/wsconCreatingShortcut.asp?frame=true
news://news.microsoft.com/microsoft.public.scripting/wsh
--
Mark L. Ferguson TabletPC MVP
Email address : Subject: "QZ" + anything
All email without "QZ" in the subject line will be automatically deleted.
marfer's notes for XP > http://www.geocities.com/marfer_mvp/xp_notes.htm
..
"Alain Dekker" > wrote in message
...
> Hi,
>
> I've read that at least on older Windows OSes, you could go to the SendTo
> folder, right-click and choose "New Shortcut". You could give the command
> line as:
>
> shortcut -t
>
> Save it, open its properties and in the "Start in" section, give it the path
> (example):
>
> C:\Test
>
> Now, lets say you rename the shortcut "Create shortcut in Test". Now, you
> can right-click any file, and on the "SendTo" part of the popup menu, you
> can select this file, and hey presto, a shortcut is created in C:\Test.
>
> I've tried this approach on XP from the C:\Documents and
> Settings\MYNAME\SendTo folder, and XP doesn't like it. It tries to validate
> the file target, and gets stuck every time. I also notice that XP mothers
> you a lot - you can't even press the OK button if you say "Start In"
> "C:\Fred", and are going to create this folder, but its not there yet.
>
> Anybody know how to do this on XP?
> Thanks,
> Alain
>
>
>
Rick West
December 26th 03, 09:19 PM
"Mark L. Ferguson" > wrote in message
...
What you want is best done with scripting (Windows Script Host) If you are
interested in going into the details of the shift in paradigm to scripting,
(from batch file work), I would say this forum is only a place to begin.
--example.js---
var fso = new ActiveXObject("Scripting.FileSystemObject");
var fout = fso.CreateFolder("c:\\my_dir");
--end---
Creating the code to accept the dropped file as argument, opening a dialog for
input, and testing for errors, are all techniques found by looking at code
examples for scripting, and perhaps reading the scripting newsgroups.
http://msdn.microsoft.com/library/en-us/script56/html/wsconCreatingShortcut.asp?frame=true
news://news.microsoft.com/microsoft.public.scripting/wsh
--
Mark L. Ferguson TabletPC MVP
Email address : Subject: "QZ" + anything
All email without "QZ" in the subject line will be automatically deleted.
marfer's notes for XP > http://www.geocities.com/marfer_mvp/xp_notes.htm
..
"Alain Dekker" > wrote in message
...
> Hi,
>
> I've read that at least on older Windows OSes, you could go to the SendTo
> folder, right-click and choose "New Shortcut". You could give the command
> line as:
>
> shortcut -t
>
> Save it, open its properties and in the "Start in" section, give it the path
> (example):
>
> C:\Test
>
> Now, lets say you rename the shortcut "Create shortcut in Test". Now, you
> can right-click any file, and on the "SendTo" part of the popup menu, you
> can select this file, and hey presto, a shortcut is created in C:\Test.
>
> I've tried this approach on XP from the C:\Documents and
> Settings\MYNAME\SendTo folder, and XP doesn't like it. It tries to validate
> the file target, and gets stuck every time. I also notice that XP mothers
> you a lot - you can't even press the OK button if you say "Start In"
> "C:\Fred", and are going to create this folder, but its not there yet.
>
> Anybody know how to do this on XP?
> Thanks,
> Alain
Hi...see if...
create a folder under C:...name it Save.
Navigate to your SendTo folder.
Right click - New - Shortcut - (type)
C:\Save Drop Target - Next - Finish - Close SendTo.
Is that what your looking for...to perform a copy
to a specific folder from the right click Send To
menu?
Rick West
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.