12-21-2005, 02:20 AM
Here is a line from my T.S. Menu which works:
hosts :run "notepad" "C:\Windows\system32\drivers\etc\hosts"
however, I would like to retreive "C:\Windows" dinamically from the %windir% variable (I have multiple OS installed) and I would like to keep it as one line in the T.S. Menu.
OS is XP or 2000.
I am stumbling on this.
Any help is welcomed.
Cheers
hosts :run "notepad" "C:\Windows\system32\drivers\etc\hosts"
however, I would like to retreive "C:\Windows" dinamically from the %windir% variable (I have multiple OS installed) and I would like to keep it as one line in the T.S. Menu.
OS is XP or 2000.
I am stumbling on this.
Any help is welcomed.
Cheers