|Hi dear i dont have much experience in batch file writing but from forums i dig some code, and try to mold it according to my requirments but after beating head could not get the proper result so comes in front of you people to please help me. as initial code of my baby file is this|
Create shortcut -f -t C:\tempbackup\DAY_%DATE% -n "\Documents and Settings\eric\Start Menu\Proams"
using this code, it create folder and one file on desktop as well, but it is not a shortcut it is just a file with name as of in Tempbackup folder.
basiscally i want like this
1) I want to create the folder shortcut on desktop of file created in Tempbackup folder
2) this bat file on execution will also delete one day old shortcut from the desktop
so when i schdule this file to run. it run n create folder in specified folder but not shortcut or create shortcut without path. when i click on shortcut it ask me how to open this file. so its not a proper shortcut or not a proper path.
as I consider it right to mention here, that there is no other shortcut on desktop other i want to create so any option of delete will work fine.
please help me as you people can help..................