G
Guest
I have a batch file on my desktop called batch.bat. Here are the contents:
echo %1
pause
If I drag and drop a file onto the icon, here are the results:
C:\WINDOWS\Fonts>echo "C:\Program Files\mIRC\servers.ini"
"C:\Program Files\mIRC\servers.ini"
C:\WINDOWS\Fonts>pause
Press any key to continue . . .
Why is the batch file starting in C:\WINDOWS\Fonts? If I click on it or run
it from CMD, it starts from the desktop as it should. What gives?
echo %1
pause
If I drag and drop a file onto the icon, here are the results:
C:\WINDOWS\Fonts>echo "C:\Program Files\mIRC\servers.ini"
"C:\Program Files\mIRC\servers.ini"
C:\WINDOWS\Fonts>pause
Press any key to continue . . .
Why is the batch file starting in C:\WINDOWS\Fonts? If I click on it or run
it from CMD, it starts from the desktop as it should. What gives?