منتدي
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

منتدي

منتدي تعليمي، ترفيهي، اجتماعي
 
الرئيسيةالرئيسية  البوابةالبوابة  الجديدالجديد  أحدث الصورأحدث الصور  التسجيلالتسجيل  دخولدخول  

 

 Drag and Drop to Command Prompt – It’s Back in Windows 7!

اذهب الى الأسفل 
3 مشترك
كاتب الموضوعرسالة
admin
المدير العام

المدير العام
admin


عدد المساهمات : 1578
الجنس : ذكر
تاريخ التسجيل : 27/06/2008

Drag and Drop to Command Prompt – It’s Back in Windows 7! Empty
مُساهمةموضوع: Drag and Drop to Command Prompt – It’s Back in Windows 7!   Drag and Drop to Command Prompt – It’s Back in Windows 7! Icon_minitimeالأحد 26 سبتمبر 2010, 2:51 pm

Working with the Command Prompt is one of an IT Professional’s required skills. In previous Windows operating systems, one could drag and object to an open Command Prompt window in order to ease our work. This feature was nice to have especially when running executable files nested deep within a folder hierarchy. Instead of manually navigating the Command Prompt path to the required folder, you could simply drag and drop the necessary file to the Run option or to the Command Prompt and press Enter to run it.


Somehow, this useful feature wend away in Windows Vista and Windows Server 2008. I wrote about this in my Missing Drag and Drop in Vista Command Prompt article. In Vista/2008, if you try to drag a file from anywhere in Windows Explorer to an open Command Prompt window you see that the pointer icon changes to a “no entry” symbol:

Drag and Drop to Command Prompt – It’s Back in Windows 7! Drag_and_drop_cmd_2008-590x312

When asked, Microsoft officials provided dull answers and claimed that this is “by design” and that it was in fact “a feature”. Some claimed that “This was done to reduce the command window's dealings with the dragged data object”. This last excuse is, in my opinion, pure crap especially when compared to the huge overhead provided by other so-called “advanced” features of Vista such as the process-intensive Aero theme (read my Aero Theme is bad, disable it article or to the huge overhead of the TCP Window Auto tuning functionality that wrecks havoc to your network copy and browse functions (read my Browsing websites and downloading files is painfully slow with Windows Vista. Other answers included things like “you can shift-right-click to get the copy as path function instead” (read my Quickly Copy File and Folder Path in Windows Vista. Another claim was that the drag and drop feature was dropped because it poses a “security risk”. Maybe, I don’t know, but since it’s been present since the days of older operating systems I don’t see why it wasn’t removed before if it was such a huge security risk.
You can imagine that I did not have high expectations set when I booted up my Windows 7 (currently beta build 7000) virtual machine and fired a CMD window. I tried dragging a file name onto the open CMD window, and behold, it works!

Drag and Drop to Command Prompt – It’s Back in Windows 7! Drag_and_drop_win7_1-590x355

Drag and Drop to Command Prompt – It’s Back in Windows 7! Drag_and_drop_win7_2-590x355

Drag and Drop to Command Prompt – It’s Back in Windows 7! Drag_and_drop_win7_3-590x355

Other methods worth mentioning are also listed in my How can I quickly copy a file or a folder's path in Windows Vista? article which describes a trick that still works in Windows 7;

Open a Windows Explorer windows, browse to the required file. Hold the SHIFT key while you right-click the folder.

Drag and Drop to Command Prompt – It’s Back in Windows 7! Drag_and_drop_win7_4-590x355

You can now paste the copied path anywhere you want, including to a Command Prompt window.

Drag and Drop to Command Prompt – It’s Back in Windows 7! Drag_and_drop_win7_5-590x355
الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://telbana.alafdal.net
نور الدين
نائب المدير

نائب المدير
نور الدين


عدد المساهمات : 5431
الجنس : ذكر
تاريخ التسجيل : 26/04/2010

Drag and Drop to Command Prompt – It’s Back in Windows 7! Empty
مُساهمةموضوع: رد: Drag and Drop to Command Prompt – It’s Back in Windows 7!   Drag and Drop to Command Prompt – It’s Back in Windows 7! Icon_minitimeالأحد 26 سبتمبر 2010, 3:34 pm

Wonderful effort received your hands



God bless you

Drag and Drop to Command Prompt – It’s Back in Windows 7! Iab87275w
الرجوع الى أعلى الصفحة اذهب الى الأسفل
https://telbana.alafdal.net
تلبانه _تلبانه
V I P
V I P
avatar


عدد المساهمات : 7224
الجنس : ذكر
تاريخ التسجيل : 08/06/2010

Drag and Drop to Command Prompt – It’s Back in Windows 7! Empty
مُساهمةموضوع: رد: Drag and Drop to Command Prompt – It’s Back in Windows 7!   Drag and Drop to Command Prompt – It’s Back in Windows 7! Icon_minitimeالجمعة 08 أكتوبر 2010, 6:56 pm

موضوع رائع
الرجوع الى أعلى الصفحة اذهب الى الأسفل
 
Drag and Drop to Command Prompt – It’s Back in Windows 7!
الرجوع الى أعلى الصفحة 
صفحة 1 من اصل 1
 مواضيع مماثلة
-
» Upgrading Windows XP Professional SP3 to Windows 7 Ultimate (beta build 7000)
» Bootable USB Windows XP/Vista/Windows 7 Maker
» Installing Windows 7 Beta
» Windows.7.RTM-11-ALL.IN.ONE
» Windows 7 X64 Mac OS X

صلاحيات هذا المنتدى:لاتستطيع الرد على المواضيع في هذا المنتدى
منتدي  :: منتديات الشهادات العلمية :: قسم شهادات مايكروسوفت-
انتقل الى: