---- start of ie.bat ----- @start "" /b "C:\Program Files\Internet Explorer\iexplore.exe" %* ---- end of ie.bat ------
Secondly, in Cygwin, if we type pwd, we get UNIX-like current path name, i.e. with forward slashs, for example:
$ pwd /cygdrive/c/Denis_Files/VZ2009
I need to convert it to Windows path name, so I create a shell script as follows:
$ cat ~/bin/pwdw pwd | sed s#/cygdrive/c#c:# |sed -e 's#\/#\\#g'
Now if I type 'pwdw' in the Cygwin command windows, I got:
$ pwdw c:\Denis_Files\VZ2009
To start a HTML file, such as AWR report, what I need to do is:
ie.bat 'c:\Denis_Files\VZ2009\awrrpt_20101003_1300_1330.html'
Just a small tip that makes my life easier :-).
No comments:
Post a Comment