Identify

  • Thread starter Thread starter Vemulapalli
  • Start date Start date
V

Vemulapalli

Since the location is start menu folder is different in
WIN98 and WINXP. I need a MSDOS command where i can
idetify the operating system and location of the start
menu folder in the batch file and copy my application to
the start menu
 
Vemulapalli said:
Since the location is start menu folder is different in
WIN98 and WINXP. I need a MSDOS command where i can
idetify the operating system and location of the start
menu folder in the batch file and copy my application to
the start menu

Open a command prompt and type set
This will display the current environment variables.
Two of these will yeild the path you require
e.g. at a command prompt type echo %HOMEDRIVE%%HOMEPATH%\Start Menu

--
Regards,

Mike
--
Mike Brannigan [Microsoft]

This posting is provided "AS IS" with no warranties, and confers no
rights

Please note I cannot respond to e-mailed questions, please use these
newsgroups
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top