I don't think that you should be trying to change the %homepath%
variable, that may cause problems with other applications, some software
installation packages still use that variable when they are installed.
Instead do as the others have suggested and set the path in your
shortcut properties.
Another thing that you can do is set an "AutoRun" string in the Registry
to change to the desired directory.
When the Command Processor is launched it looks at:
HKEY_CURRENT_USER\Software\Microsoft\Command Processor for instructions,
if it sees an AutoRun value there it will automatically run the string.
If it finds no AutoRun value there it will look for an AutoRun string
in the corresponding HKLM location.
At HKEY_CURRENT_USER\Software\Microsoft\Command Processor if you add the
following:
Value Name: AutoRun
Data Type: REG_SZ
and set the value data to: cd c:\win44
when you launch cmd.exe it will automatically run the command and change
the current directory to C:\win44
If you want to run the Command Processor without executing the AutoRun
commands you can add the /D switch when you start it, CMD /D.
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/r...
John