Drop files to CMD.EXE

  • Thread starter Thread starter Christian Schindler
  • Start date Start date
C

Christian Schindler

In previous OS Versions it is possible to drag a file into the cmd.exe
window to
get the full path inserted into cmd.exe.

When I try to do this in vista it is not possbile(get a stop sign).

Is this behavior configurable? I guess this is a securityx feature...

Thanks
Christian Schindler
 
microsoft.public.windows.vista.security news group, Christian
Schindler said:
In previous OS Versions it is possible to drag a file into the cmd.exe
window to
get the full path inserted into cmd.exe.

When I try to do this in vista it is not possbile(get a stop sign).

Is this behavior configurable?

No.

--
Paul Adare
MVP - Windows - Virtual Machine
http://www.identit.ca
"The English language, complete with irony, satire, and sarcasm,
has survived for centuries without smileys. Only the new crop of
modern computer geeks finds it impossible to detect a joke that
is not clearly labeled as such."
Ray Shea
 
what you can do is right click on the file, select properties, copy the path and then paste it into the CMD window.
a few more steps, not as easy as before , but still manageable.



(e-mail address removed)@sport.rr.com

In previous OS Versions it is possible to drag a file into the cmd.exe
window to
get the full path inserted into cmd.exe.

When I try to do this in vista it is not possbile(get a stop sign).

Is this behavior configurable? I guess this is a securityx feature...

Thanks
Christian Schindler
 
The path doesn't include the filename. More anti mouse stuff from MS.
what you can do is right click on the file, select properties, copy the path and then paste it into the CMD window.
a few more steps, not as easy as before , but still manageable.



(e-mail address removed)@sport.rr.com

In previous OS Versions it is possible to drag a file into the cmd.exe
window to
get the full path inserted into cmd.exe.

When I try to do this in vista it is not possbile(get a stop sign).

Is this behavior configurable? I guess this is a securityx feature...

Thanks
Christian Schindler
 
On Vista you can do a Shift + Right Click and that gives you a "Copy as Path" option. And then right-click over the CMD window to paste. Still requires the shift key but I think it's the easiest.

Dave

<.> wrote in message The path doesn't include the filename. More anti mouse stuff from MS.
what you can do is right click on the file, select properties, copy the path and then paste it into the CMD window.
a few more steps, not as easy as before , but still manageable.



(e-mail address removed)@sport.rr.com

In previous OS Versions it is possible to drag a file into the cmd.exe
window to
get the full path inserted into cmd.exe.

When I try to do this in vista it is not possbile(get a stop sign).

Is this behavior configurable? I guess this is a securityx feature...

Thanks
Christian Schindler
 
It is implemented as a shell extension. So code decides if it shows or not. Command Prompt here is a simple verb and removing the named value Extended at HKEY_CLASSES_ROOT\Directory\shell\cmd
will allow this one to show without the stupid feature of needing to hold a key to use a mouse.
On Vista you can do a Shift + Right Click and that gives you a "Copy as Path" option. And then right-click over the CMD window to paste. Still requires the shift key but I think it's the easiest.

Dave

<.> wrote in message The path doesn't include the filename. More anti mouse stuff from MS.
what you can do is right click on the file, select properties, copy the path and then paste it into the CMD window.
a few more steps, not as easy as before , but still manageable.



(e-mail address removed)@sport.rr.com

In previous OS Versions it is possible to drag a file into the cmd.exe
window to
get the full path inserted into cmd.exe.

When I try to do this in vista it is not possbile(get a stop sign).

Is this behavior configurable? I guess this is a securityx feature...

Thanks
Christian Schindler
 
if you click on a shortcut to the file, it does give you the PATH.

(e-mail address removed)@sport.rr.com

<.> wrote in message The path doesn't include the filename. More anti mouse stuff from MS.
what you can do is right click on the file, select properties, copy the path and then paste it into the CMD window.
a few more steps, not as easy as before , but still manageable.



(e-mail address removed)@sport.rr.com

In previous OS Versions it is possible to drag a file into the cmd.exe
window to
get the full path inserted into cmd.exe.

When I try to do this in vista it is not possbile(get a stop sign).

Is this behavior configurable? I guess this is a securityx feature...

Thanks
Christian Schindler
 
Thank you Paul!

Paul Adare said:
microsoft.public.windows.vista.security news group, Christian


No.

--
Paul Adare
MVP - Windows - Virtual Machine
http://www.identit.ca
"The English language, complete with irony, satire, and sarcasm,
has survived for centuries without smileys. Only the new crop of
modern computer geeks finds it impossible to detect a joke that
is not clearly labeled as such."
Ray Shea
 
Back
Top