1.

Solve : Can i make a batch file that will make a shortcut to something on the desktop??

Answer»

it WORKS here too.

It would need to have C: as the CURRENT drive, or you might get an invalid directory.

On the other hand, you can't CHANGE the current drive with a CD COMMAND anyway, so you'd need to change the drive to C: anyway. If you do:
Code: [Select]%HOMEDRIVE%
cd %HOMEPATH%

it works better then anything involving %USERPROFILE%.



Discussion

No Comment Found