summaryrefslogtreecommitdiff
path: root/os/os2/installer/remove_opensfx.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'os/os2/installer/remove_opensfx.cmd')
-rw-r--r--os/os2/installer/remove_opensfx.cmd15
1 files changed, 15 insertions, 0 deletions
diff --git a/os/os2/installer/remove_opensfx.cmd b/os/os2/installer/remove_opensfx.cmd
new file mode 100644
index 000000000..fdd88b9de
--- /dev/null
+++ b/os/os2/installer/remove_opensfx.cmd
@@ -0,0 +1,15 @@
+@echo off
+if "%1" == "" goto err
+
+echo Removing OpenSFX...
+
+del %1\data\opensfx\*.* /n
+rmdir %1\data\opensfx
+
+echo OpenSFX has been removed.
+goto end
+
+:err
+echo This batch file is only intended for use by the OpenTTD installer.
+
+:end