summaryrefslogtreecommitdiff
path: root/os/windows/fio
diff options
context:
space:
mode:
authorBruce Cran <bruce@cran.org.uk>2011-01-28 08:41:42 +0100
committerJens Axboe <jaxboe@fusionio.com>2011-01-28 08:41:42 +0100
commit5b9a7f2232151d4bb80295be743a6f435f054662 (patch)
tree9ba58247edf09d739e7e29abb059f5a265314479 /os/windows/fio
parentd015e398e49f1c8d425906b8c1a3861ecc4d851a (diff)
downloadfio-5b9a7f2232151d4bb80295be743a6f435f054662.tar.gz
fio-5b9a7f2232151d4bb80295be743a6f435f054662.tar.bz2
Windows: add missing files needed for msi build
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'os/windows/fio')
-rw-r--r--os/windows/fio/FIO.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/os/windows/fio/FIO.bat b/os/windows/fio/FIO.bat
new file mode 100644
index 00000000..cb3ca863
--- /dev/null
+++ b/os/windows/fio/FIO.bat
@@ -0,0 +1,9 @@
+@echo off
+
+C:
+IF EXIST "%PROGRAMFILES(X86)%" set ROOTDIR=%PROGRAMFILES(X86)%\FIO
+IF NOT EXIST "%PROGRAMFILES(X86)%" set ROOTDIR=%PROGRAMFILES%\FIO
+chdir "%ROOTDIR%\bin"
+
+bash -c "echo \"Run FIO by typing 'fio'\" && echo \"This is a virtual filesystem: the root directory is $ROOTDIR\" && echo \"In this environment the path separator is '/' not '\\'\" && echo \"The C: drive is available under /cygdrive/c\" && echo \"Examples are in /examples ($ROOTDIR\\examples)\" && echo \"Type 'cd' to change directory and 'dir' (or 'ls') to see directory contents\" && echo \"QuickEdit mode is enabled: copy text by highlighting it and right-clicking\" && echo \"To exit, close the window\" && /usr/sbin/cygserver & 2> /dev/null"
+bash --login -i \ No newline at end of file