Hey Everybody
I need help with syntax in my install.bat file. Ok, I have it creating directories and copying the files over to the harddrive and all is well...except.
From within the .bat file (dos commands) I want to copy a file to a users desktop. I do not know how to do this, especially since the users name will change depending on the machine I run my proggy on.
example.
mkdir c:\program_game
copy *.* c:\program_game
copy "my crazy little shortcut to the users desktop"
This is only for testing purposes. I would never do this to the general public, as a direct copy is actually considered intrusive, it's just for my lazy needs so I do not have to browse to the CD and copy to the HD.
Any help would be great- Thanx!
I need help with syntax in my install.bat file. Ok, I have it creating directories and copying the files over to the harddrive and all is well...except.
From within the .bat file (dos commands) I want to copy a file to a users desktop. I do not know how to do this, especially since the users name will change depending on the machine I run my proggy on.
example.
mkdir c:\program_game
copy *.* c:\program_game
copy "my crazy little shortcut to the users desktop"
This is only for testing purposes. I would never do this to the general public, as a direct copy is actually considered intrusive, it's just for my lazy needs so I do not have to browse to the CD and copy to the HD.
Any help would be great- Thanx!