View Single Post
  #1  
Old 06-11-2013, 20:59
BlackWhite BlackWhite is offline
Friend
 
Join Date: Apr 2013
Posts: 85
Rept. Given: 4
Rept. Rcvd 14 Times in 6 Posts
Thanks Given: 14
Thanks Rcvd at 56 Times in 25 Posts
BlackWhite Reputation: 14
Angry Why does drag&drop cause the change of working directory?

Recently, I found a very weird behavior of Windows XP:
When I drag a file to an exe and drop, that exe's working
directory will be automatically changed to
"c:\documents and settings\user name"
in stead of current directory that exe lies in.

If I input that exe's name and its required arguments
at console, the above behavior will not happen.

Does anyone know the reason.

Thanks.
Reply With Quote