summaryrefslogtreecommitdiff
path: root/os/windows/fio/Cygwin.bat
blob: a2b17f9fa78c16a2c3db8b65c58abbd0282856b8 (plain)
1
2
3
4
5
6
7
8
@echo off

C:
IF EXIST     "%PROGRAMFILES(X86)%" chdir "%PROGRAMFILES(X86)%\fio\bin"
IF NOT EXIST "%PROGRAMFILES(X86)%" chdir "%PROGRAMFILES%\fio\bin"

bash -c "echo \"FIO is available as /bin/fio - type fio to run it.\" && echo \"Examples are in /usr/share/doc/fio/examples\" && echo \"Type \"cd\" to change directory and dir (or ls) to see directory contents.\" && echo \"To exit, close the window.\" && /usr/sbin/cygserver & 2> /dev/null"
bash --login -i