When working at the command line you'll often need to access files, which usually means typing lengthy paths and hoping you've got them right. But Windows 7 offers an easier way. Simply drag and drop the file onto your command window and the full path will appear, complete with quotes and ready to be used.
This feature isn't entirely new: you could do this in Windows XP, too, but drag and drop support disappeared in Vista. There does seem to be a new Windows 7 complication, though, in that it only seems to work when you open the command prompt as a regular user. Run cmd.exe as an administrator and, while it accepts dropped files, the path doesn't appear.
No comments:
Post a Comment