|
Re: Cannot Drag & Drop a file from Windows Explorer to Command Pro You can do this with all the files
By exemple, you can launch an application with its shortcut too.
I work in winXP without admin rights
Sometimes a want to delete a file and i need admin rights to do that
- I start the command prompt with admin rights (run as...)
- in the prompt I type "del "
- drag the file a want to delete on the prompt
(the path to the file is dropped where i have typed "del ")
- I hit enter to execute the command and the file is deleted
no need to log out and log in with an admin.
"Larry" wrote:
> Interesting, I guess you would first have to find the exe file. then drag to
> an open command prompt window. Does this only work with exe files?
> Thank you
>
> "Sir_Higgins" <SirHiggins@discussions.microsoft.com> wrote in message
> news:35C69012-4AA3-4566-AA9B-954B6E423F19@microsoft.com...
> > In WinXP when you drag a file in a prompt windows the full path of the
> > file
> > is dropped in the prompt. You can copy the path, execute it or use it with
> > a
> > dos command.
> >
> > It's usefull
> > - When you write scripts (to have the right path quickly to file)
> > - When you launch a prompt with admin rights. You can quickly execute
> > application with elevated credential without typing admin name and
> > password
> > every time.
> >
> > "Larry" wrote:
> >
> >> Can i ask why you would want to drag a fille to a command prompt window.
> >> Just curious.
> >>
> >> "Sir_Higgins" <Sir_Higgins@discussions.microsoft.com> wrote in message
> >> news:BBC42993-299B-44A9-A601-49D49DAD8119@microsoft.com...
> >> > It's the same thing for me.
> >> > I can't open a command prompt windows as admin and drag a programme
> >> > that i
> >> > want to launch with elevated credential as i was doing in XP.
> >> >
> >> > It's also annoying when writing scripts. This feature was usefull to
> >> > quickly
> >> > have the path and filename to copy in scripts.
> >> >
> >> > "Sami KOZONO" wrote:
> >> >
> >> >> I just installed Vista beta 2 (build 5384, Japanese, 32 bit).
> >> >> I noticed that I cannot drag & drop files from Windows Explorer to
> >> >> Command Prompot Window.
> >> >> Is this a desgin change from XP? or I'm missing something basic?
> >> >> -Sami KOZONO
> >> >>
> >>
> |